Commit 8d8133d4 authored by Kevin Hilman's avatar Kevin Hilman

ARM: OMAP: Touchscreen: build cleanup

Enable TSC2101 support when Touchscreen is enabled.
Fix #if in tsc2101 driver
Signed-off-by: default avatarKevin Hilman <kevin@hilman.org>
parent 96e5e362
...@@ -99,6 +99,7 @@ endif ...@@ -99,6 +99,7 @@ endif
config TOUCHSCREEN_OMAP config TOUCHSCREEN_OMAP
tristate "OMAP touchscreen input driver" tristate "OMAP touchscreen input driver"
depends on INPUT && INPUT_TOUCHSCREEN && ARCH_OMAP depends on INPUT && INPUT_TOUCHSCREEN && ARCH_OMAP
select OMAP_TSC2101
help help
Say Y here if you have an OMAP based board with touchscreen Say Y here if you have an OMAP based board with touchscreen
attached to it, e.g. OMAP Innovator, OSK, H2 or H3 attached to it, e.g. OMAP Innovator, OSK, H2 or H3
......
...@@ -202,7 +202,7 @@ static int omap_tsc2101_configure(void) ...@@ -202,7 +202,7 @@ static int omap_tsc2101_configure(void)
{ {
unsigned long uwire_flags = 0; unsigned long uwire_flags = 0;
#if CONFIG_MACH_OMAP_H3 #ifdef CONFIG_MACH_OMAP_H3
int err = 0; int err = 0;
u8 ioExpanderVal = 0; u8 ioExpanderVal = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment