This gets rid of some build errors on H3 by forcing the GPIO expander
to be built when the IRDA or TSC2101 drivers are in use.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
config OMAP1610_IR
tristate "OMAP1610 IrDA(SIR/MIR/FIR)"
- depends on IRDA
+ depends on IRDA && ARCH_OMAP
+ select GPIOEXPANDER_OMAP if MACH_OMAP_H3
help
Say Y here if you want to build support for the Omap1610 IR.
depends on ARCH_OMAP1 || ARCH_OMAP24XX
tristate "TSC2101 codec support for Touchscreen and audio"
select OMAP_UWIRE if MACH_OMAP_H3 || MACH_OMAP_H2
+ select GPIOEXPANDER_OMAP if MACH_OMAP_H3
---help---
Say Y here if you want support for the TSC2101 codec. It is
needed for touchscreen and audio on OMAP1610 and 1710.