public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ADS7846 dependencies
@ 2006-11-10 13:27 Arnaud Patard
  2006-11-11  0:37 ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Arnaud Patard @ 2006-11-10 13:27 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

Hi,

While playing with my kernel configuration, I found out that now,
setting CONFIG_HWMON to 'n' and TOUCHSCREEN_ADS7846 to 'y' was allowed,
which leads to a build failure.
This was caused by the commit 954423251daf362272076c6228dcdac65d72b287
which reverts the changes introduced by the commit
659cb49d6a8ba8d5651e53dd22a0addab6a479e6. 
This patch fix the trouble.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix_ads7846_kconfig_deps.patch --]
[-- Type: text/x-patch, Size: 951 bytes --]

---
 drivers/input/touchscreen/Kconfig |    5 	4 +	1 -	0 !
 1 files changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6.18/drivers/input/touchscreen/Kconfig
===================================================================
--- linux-2.6.18.orig/drivers/input/touchscreen/Kconfig	2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18/drivers/input/touchscreen/Kconfig	2006-11-10 14:24:47.000000000 +0100
@@ -14,10 +14,13 @@ if INPUT_TOUCHSCREEN
 config TOUCHSCREEN_ADS7846
 	tristate "ADS 7846 based touchscreens"
 	depends on SPI_MASTER
+	select HWMON
 	help
 	  Say Y here if you have a touchscreen interface using the
 	  ADS7846 controller, and your board-specific initialization
-	  code includes that in its table of SPI devices.
+	  code includes that in its table of SPI devices.  You will
+	  also get hwmon interfaces for the temperature and voltage
+	  sensors this chip provides.
 
 	  If unsure, say N (but it's safe to say "Y").
 

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-22 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 13:27 [PATCH] Fix ADS7846 dependencies Arnaud Patard
2006-11-11  0:37 ` Tony Lindgren
2006-12-21 23:31   ` Tony Lindgren
2006-12-22  6:55     ` David Brownell
2006-12-22 20:01       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox