diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-21 01:27:05 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-21 01:27:05 -0400 |
commit | 10bfc6e190c55b583ec312a6a8ef274924e16d8a (patch) | |
tree | ad81cd2d08014dafe2685e9564feeddd28d0d005 /arch/sh | |
parent | 58419abd507dd9cc20644b99f122bc7b5507a261 (diff) |
sh: gpio: Include asm-generic/gpio.h for non-gpiolib stubs.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/gpio.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h index 9650e7c9c39e..a6ec3e430380 100644 --- a/arch/sh/include/asm/gpio.h +++ b/arch/sh/include/asm/gpio.h | |||
@@ -99,9 +99,7 @@ int gpio_direction_input(unsigned gpio); | |||
99 | int gpio_direction_output(unsigned gpio, int value); | 99 | int gpio_direction_output(unsigned gpio, int value); |
100 | int gpio_get_value(unsigned gpio); | 100 | int gpio_get_value(unsigned gpio); |
101 | void gpio_set_value(unsigned gpio, int value); | 101 | void gpio_set_value(unsigned gpio, int value); |
102 | static inline int gpio_export(unsigned gpio, bool direction_may_change) | 102 | |
103 | { | 103 | #include <asm-generic/gpio.h> |
104 | return 0; | ||
105 | } | ||
106 | 104 | ||
107 | #endif /* __ASM_SH_GPIO_H */ | 105 | #endif /* __ASM_SH_GPIO_H */ |