[PATCH 10/30] mfd TWL4030: Fix Kconfig dependencies

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 5 15:36:40 EDT 2012


The twl core does not depend on the twl usb support. It's the other
way round.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mfd/Kconfig     |    1 -
 drivers/usb/otg/Kconfig |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 57f4003..af67935 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -25,7 +25,6 @@ config I2C_TWLCORE
 
 config I2C_TWL4030
 	depends on I2C
-	depends on USB_TWL4030
 	select I2C_TWLCORE
 	bool "TWL4030 driver"
 
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index d871677..892c21e 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -4,4 +4,5 @@ config USB_ULPI
 	  Support for transceivers that conforms ULPI specification.
 
 config USB_TWL4030
+	depends on I2C_TWL4030
 	bool "TWL4030 Transceiver support"
-- 
1.7.10




More information about the barebox mailing list