|
@@ -28,6 +28,7 @@ static inline int gpio_is_valid(int number)
|
|
return ((unsigned)number) < ARCH_NR_GPIOS;
|
|
return ((unsigned)number) < ARCH_NR_GPIOS;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+struct device;
|
|
struct seq_file;
|
|
struct seq_file;
|
|
struct module;
|
|
struct module;
|
|
|
|
|
|
@@ -181,6 +182,8 @@ static inline void gpio_set_value_cansleep(unsigned gpio, int value)
|
|
|
|
|
|
#ifndef CONFIG_GPIO_SYSFS
|
|
#ifndef CONFIG_GPIO_SYSFS
|
|
|
|
|
|
|
|
+struct device;
|
|
|
|
+
|
|
/* sysfs support is only available with gpiolib, where it's optional */
|
|
/* sysfs support is only available with gpiolib, where it's optional */
|
|
|
|
|
|
static inline int gpio_export(unsigned gpio, bool direction_may_change)
|
|
static inline int gpio_export(unsigned gpio, bool direction_may_change)
|