diff mbox

Input: TPS6507X - add MFD dependency

Message ID 4E1B05B8.1020006@visionsystems.de (mailing list archive)
State New, archived
Headers show

Commit Message

Yegor Yefremov July 11, 2011, 2:16 p.m. UTC
touchscreen unit is only working if mfd device is activated, so
define it as dependency. I2C dependency is obsolete, cause
TPS6507X itself depends on it.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 drivers/input/touchscreen/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Mark Brown July 11, 2011, 2:40 p.m. UTC | #1
On Mon, Jul 11, 2011 at 04:16:24PM +0200, Yegor Yefremov wrote:
> touchscreen unit is only working if mfd device is activated, so
> define it as dependency. I2C dependency is obsolete, cause
> TPS6507X itself depends on it.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: b/drivers/input/touchscreen/Kconfig
===================================================================
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -716,7 +716,7 @@ 
 
 config TOUCHSCREEN_TPS6507X
 	tristate "TPS6507x based touchscreens"
-	depends on I2C
+	depends on TPS6507X
 	help
 	  Say Y here if you have a TPS6507x based touchscreen
 	  controller.