Skip to contentSkip to conversation

power: twl4030: missing dep for CHARGER_TWL4030

PATCH New Matt Ranostay 1 participant 1 message Aug 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: twl4030: missing dep for CHARGER_TWL4030

CHARGER_TWL4030 requires TWL4030_MADC to build due to the twl4030_get_madc_conversion function

---
 drivers/power/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/Kconfig +1 -1
index f8758d6..4143e74 100644
@@ -313,7 +313,7 @@ config CHARGER_MAX8903
 
 config CHARGER_TWL4030
 	tristate "OMAP TWL4030 BCI charger driver"
-	depends on TWL4030_CORE
+	depends on TWL4030_CORE && TWL4030_MADC
 	help
 	  Say Y here to enable support for TWL4030 Battery Charge Interface.
 
Signature · 1 line
1.9.1