Skip to contentSkip to conversation

Input: w90p910_ts - depend on ARCH_W90X900

PATCH New Jean Delvare 3 participants 3 messages Apr 1, 2014 – Apr 20, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: w90p910_ts - depend on ARCH_W90X900

The w90p910_ts touchscreen driver is heavily architecture dependent, so there is no point in letting it be built on other architectures than it was written for.

All other W90P910/W90X900 drivers already have that dependency, so it makes things more consistent and configuration easier.

Cc Wan ZongShun <[email protected]>
Cc Dmitry Torokhov <[email protected]>
---
 drivers/input/touchscreen/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/Kconfig +1 -1
@@ -867,7 +867,7 @@ config TOUCHSCREEN_TSC2007
 
 config TOUCHSCREEN_W90X900
 	tristate "W90P910 touchscreen driver"
-	depends on HAVE_CLK
+	depends on ARCH_W90X900
 	help
 	  Say Y here if you have a W90P910 based touchscreen.
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw

PATCH 1/1 Input: w90p910_ts - depend on ARCH_W90X900

---------- Forwarded message ----------
From: Jean Delvare <[email protected]>
Date: 2014-04-01 20:20 GMT+08:00
Subject: [PATCH] Input: w90p910_ts - depend on ARCH_W90X900
To: linux-input at vger.kernel.org, linux-arm-kernel at lists.infradead.org ??? Wan ZongShun <[email protected]>, Dmitry Torokhov <[email protected]>

The w90p910_ts touchscreen driver is heavily architecture dependent, so there is no point in letting it be built on other architectures than it was written for.

All other W90P910/W90X900 drivers already have that dependency, so it makes things more consistent and configuration easier.

Cc Wan ZongShun <[email protected]>
Cc Dmitry Torokhov <[email protected]>
---
 drivers/input/touchscreen/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.14-rc8.orig/drivers/input/touchscreen/Kconfig

2014-02-09 16:53:02.945634113 +0100

+++ linux-3.14-rc8/drivers/input/touchscreen/Kconfig 2014-04-01
14:10:08.936933702 +0200
@@ -867,7 +867,7 @@ config TOUCHSCREEN_TSC2007

config TOUCHSCREEN_W90X900
tristate "W90P910 touchscreen driver"
- depends on HAVE_CLK
+ depends on ARCH_W90X900
help
Say Y here if you have a W90P910 based touchscreen.

Sure, your idea is reasonable.

Acked-by Wan Zongshun <[email protected]>

--
Jean Delvare
SUSE L3 Support

Signature · 2 lines
Wan ZongShun.
www.mcuos.com
maintainer Applied
#2 lore raw

PATCH 1/1 Input: w90p910_ts - depend on ARCH_W90X900

Quoted 38 lines · Wan ZongShun

---------- Forwarded message ----------
From: Jean Delvare <[email protected]>
Date: 2014-04-01 20:20 GMT+08:00
Subject: [PATCH] Input: w90p910_ts - depend on ARCH_W90X900
To: linux-input at vger.kernel.org, linux-arm-kernel at lists.infradead.org ??? Wan ZongShun <[email protected]>, Dmitry Torokhov <[email protected]>

The w90p910_ts touchscreen driver is heavily architecture dependent, so there is no point in letting it be built on other architectures than it was written for.

All other W90P910/W90X900 drivers already have that dependency, so it makes things more consistent and configuration easier.

Cc Wan ZongShun <[email protected]>
Cc Dmitry Torokhov <[email protected]>
---
 drivers/input/touchscreen/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.14-rc8.orig/drivers/input/touchscreen/Kconfig

2014-02-09 16:53:02.945634113 +0100

+++ linux-3.14-rc8/drivers/input/touchscreen/Kconfig 2014-04-01
14:10:08.936933702 +0200

drivers/input/touchscreen/Kconfig +1 -1
@@ -867,7 +867,7 @@ config TOUCHSCREEN_TSC2007
 
 config TOUCHSCREEN_W90X900
        tristate "W90P910 touchscreen driver"
-       depends on HAVE_CLK
+       depends on ARCH_W90X900
        help
          Say Y here if you have a W90P910 based touchscreen.
 

Sure, your idea is reasonable.

Quoted 1 line

Acked-by Wan Zongshun <[email protected]>

Applied, thank you.

Signature · 1 line
Dmitry