Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 58419abd
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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 */