mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
0cc0a44116
commit
09be755395
1 changed files with 11 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue