summaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2015-10-15 11:11:07 +0200
committerSebastian Reichel <sre@kernel.org>2015-10-16 14:12:38 +0200
commit0f4998cbb25855afb47f500e96483d8c38ba1524 (patch)
tree67c016259d3df85d098db083228a70eddf16609f /drivers/power/Kconfig
parentpower_supply: charger-manager: add missing of_node_put (diff)
downloadlinux-0f4998cbb25855afb47f500e96483d8c38ba1524.tar.xz
linux-0f4998cbb25855afb47f500e96483d8c38ba1524.zip
twl4030_charger: add missing iio dependency
This driver fails to link without CONFIG_IIO, since there are no stubs for the iio_channels functions. Signed-off-by: Sebastian Reichel <sre@kernel.org> Acked-by: Marek Belisko <marek@goldelico.com> Acked-by: Nikolaus Schaller <hns@goldelico.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 9e68853217ca..cb0ae666dc68 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -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.