Skip to content

Commit

Permalink
sh: gpio: Include asm-generic/gpio.h for non-gpiolib stubs.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Oct 21, 2008
1 parent 58419ab commit 10bfc6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/sh/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 10bfc6e

Please sign in to comment.