From 8d8133d44206b00f1209d9057341a99f014247ad Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Fri, 23 Sep 2005 15:00:53 -0700 Subject: [PATCH] ARM: OMAP: Touchscreen: build cleanup Enable TSC2101 support when Touchscreen is enabled. Fix #if in tsc2101 driver Signed-off-by: Kevin Hilman --- drivers/input/touchscreen/Kconfig | 1 + drivers/ssi/omap-tsc2101.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 9029657cddb..2d34a8e4600 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -99,6 +99,7 @@ endif config TOUCHSCREEN_OMAP tristate "OMAP touchscreen input driver" depends on INPUT && INPUT_TOUCHSCREEN && ARCH_OMAP + select OMAP_TSC2101 help Say Y here if you have an OMAP based board with touchscreen attached to it, e.g. OMAP Innovator, OSK, H2 or H3 diff --git a/drivers/ssi/omap-tsc2101.c b/drivers/ssi/omap-tsc2101.c index 00d2ce5b872..193542fc56b 100644 --- a/drivers/ssi/omap-tsc2101.c +++ b/drivers/ssi/omap-tsc2101.c @@ -202,7 +202,7 @@ static int omap_tsc2101_configure(void) { unsigned long uwire_flags = 0; -#if CONFIG_MACH_OMAP_H3 +#ifdef CONFIG_MACH_OMAP_H3 int err = 0; u8 ioExpanderVal = 0; -- 2.41.0