projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58419ab
)
sh: gpio: Include asm-generic/gpio.h for non-gpiolib stubs.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 21 Oct 2008 05:27:05 +0000
(14:27 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 21 Oct 2008 05:27:05 +0000
(14:27 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/gpio.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/gpio.h
b/arch/sh/include/asm/gpio.h
index 9650e7c9c39e989c5763cca1182a4c5c69f8ae9a..a6ec3e430380e0b4854da5a8d29f32e38c3e78a7 100644
(file)
--- a/
arch/sh/include/asm/gpio.h
+++ b/
arch/sh/include/asm/gpio.h
@@
-99,9
+99,7
@@
int gpio_direction_input(unsigned gpio);
int gpio_direction_output(unsigned gpio, int value);
int gpio_get_value(unsigned gpio);
void gpio_set_value(unsigned gpio, int value);
-static inline int gpio_export(unsigned gpio, bool direction_may_change)
-{
- return 0;
-}
+
+#include <asm-generic/gpio.h>
#endif /* __ASM_SH_GPIO_H */