Commit 10bfc6e1 authored by Paul Mundt's avatar Paul Mundt

sh: gpio: Include asm-generic/gpio.h for non-gpiolib stubs.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 58419abd
...@@ -99,9 +99,7 @@ int gpio_direction_input(unsigned gpio); ...@@ -99,9 +99,7 @@ int gpio_direction_input(unsigned gpio);
int gpio_direction_output(unsigned gpio, int value); int gpio_direction_output(unsigned gpio, int value);
int gpio_get_value(unsigned gpio); int gpio_get_value(unsigned gpio);
void gpio_set_value(unsigned gpio, int value); void gpio_set_value(unsigned gpio, int value);
static inline int gpio_export(unsigned gpio, bool direction_may_change)
{ #include <asm-generic/gpio.h>
return 0;
}
#endif /* __ASM_SH_GPIO_H */ #endif /* __ASM_SH_GPIO_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment