From: Ben Dooks <ben-linux@fluff.org>
Date: Wed, 19 May 2010 05:45:01 +0000 (+0900)
Subject: Input: s3c24xx_ts - depend on SAMSUNG_DEV_TS and update menu entry
X-Git-Tag: firefly_0821_release~9833^2~2114^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=504d36e91ac12ccdb0e1193cee7bef9831a1c99e;p=firefly-linux-kernel-4.4.55.git

Input: s3c24xx_ts - depend on SAMSUNG_DEV_TS and update menu entry

Make the driver depend on either ARCH_S3C2410 (as legacy) or the new
device selection of SAMSUNG_DEV_TS.

Change the menuconfig name to reflect this driver is now handling more
devices that just the s3c2410.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
---

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 8a8fa4d2d6a8..77a50d9bba17 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -158,8 +158,8 @@ config TOUCHSCREEN_FUJITSU
 	  module will be called fujitsu-ts.
 
 config TOUCHSCREEN_S3C2410
-	tristate "Samsung S3C2410 touchscreen input driver"
-	depends on ARCH_S3C2410
+	tristate "Samsung S3C2410/generic touchscreen input driver"
+	depends on ARCH_S3C2410 || SAMSUNG_DEV_TS
 	select S3C24XX_ADC
 	help
 	  Say Y here if you have the s3c2410 touchscreen.