diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-07-08 12:15:44 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-07-12 10:22:00 +0200 |
commit | ef087d8e95d9d225f83e92d02c3eae1a41955c5f (patch) | |
tree | 9be8f7462b7322606a18901a663d8d975190a16e /drivers/gpio/gpiolib.c | |
parent | 4672a4a9fbfe316e1153682b0790af6446255a50 (diff) | |
download | lwn-ef087d8e95d9d225f83e92d02c3eae1a41955c5f.tar.gz lwn-ef087d8e95d9d225f83e92d02c3eae1a41955c5f.zip |
gpiolib: move gpiolib-sysfs function declarations into their own header
Move gpiolib-sysfs function declarations into their own header.
These functions are in gpiolib-sysfs.c, and are only required by gpiolib.c,
and so should be in a module header, not gpiolib.h.
This brings gpiolib-sysfs into line with gpiolib-cdev, and is another step
towards removing the sysfs inferface.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 291c088a5964..4d267c69482c 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -26,6 +26,7 @@ #include "gpiolib-of.h" #include "gpiolib-acpi.h" #include "gpiolib-cdev.h" +#include "gpiolib-sysfs.h" #define CREATE_TRACE_POINTS #include <trace/events/gpio.h> |