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

Commit 09be7553 authored by Tony Lindgren's avatar Tony Lindgren
Browse files

ARM: OMAP1: Fix compile for boards depending on old gpio expander



The long term fix is to switch boards to use drivers/gpio/pcf857x.c.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0cc0a441
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -18,7 +18,18 @@

/* Function Prototypes for GPIO Expander functions */

#ifdef CONFIG_GPIOEXPANDER_OMAP
int read_gpio_expa(u8 *, int);
int write_gpio_expa(u8 , int);
#else
static inline int read_gpio_expa(u8 *val, int addr)
{
	return 0;
}
static inline int write_gpio_expa(u8 val, int addr)
{
	return 0;
}
#endif

#endif /* __ASM_ARCH_OMAP_GPIOEXPANDER_H */