Skip to contentSkip to conversation

twl4030_charger: add missing iio dependency

PATCH In review Sebastian Reichel 3 participants 3 messages Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 twl4030_charger: add missing iio dependency

This driver fails to link without CONFIG_IIO, since there are no stubs for the iio_channels functions.

---
 drivers/power/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/Kconfig +1 -1
index 9e68853217ca..cb0ae666dc68 100644
@@ -313,7 +313,7 @@ config CHARGER_MAX8903
 
 config CHARGER_TWL4030
 	tristate "OMAP TWL4030 BCI charger driver"
-	depends on TWL4030_CORE
+	depends on IIO && TWL4030_CORE
 	help
 	  Say Y here to enable support for TWL4030 Battery Charge Interface.
 
Signature · 1 line
2.6.1
Acked-by Marek Belisko on v1 1/1
#1 lore raw

Hi,

Quoted 22 lines · Sebastian Reichel

This driver fails to link without CONFIG_IIO, since there are no stubs for the iio_channels functions.

---
 drivers/power/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/Kconfig +1 -2
index 9e68853217ca..cb0ae666dc68 100644
@@ -313,7 +313,7 @@ config CHARGER_MAX8903
 
 config CHARGER_TWL4030
        tristate "OMAP TWL4030 BCI charger driver"
-       depends on TWL4030_CORE
+       depends on IIO && TWL4030_CORE
        help
          Say Y here to enable support for TWL4030 Battery Charge Interface.
 
--
Quoted 2 lines

2.6.1

BR,

marek

Signature · 10 lines
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
Acked-by on v1 1/1
#2 lore raw
In reply to Sebastian Reichel

BR,
Nikolaus

Am 15.10.2015 um 11:11 schrieb Sebastian Reichel <[email protected]>:

Quoted 24 lines

This driver fails to link without CONFIG_IIO, since there are no stubs for the iio_channels functions.

---
drivers/power/Kconfig | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/Kconfig +0 -0
index 9e68853217ca..cb0ae666dc68 100644
@@ -313,7 +313,7 @@ config CHARGER_MAX8903
 

config CHARGER_TWL4030
tristate "OMAP TWL4030 BCI charger driver"

drivers/power/Kconfig +1 -1
-	depends on TWL4030_CORE
+	depends on IIO && TWL4030_CORE

help
Say Y here to enable support for TWL4030 Battery Charge Interface.

Signature · 1 line
2.6.1