aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-30 22:13:44 +0800
committerMark Brown <broonie@linaro.org>2013-08-30 16:40:26 +0100
commit613965fb49d507faa189ebf31767a907d98bb7fd (patch)
tree58773bf11446b57306ead7f320308a05a4cc1564 /drivers/regulator
parent631a1fc4d4d8839f7ea04f4d54cf8f247b17ff85 (diff)
regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y
lp872x regulator driver can be built a module after commit 631a1fc "regulator: build: Allow most regulators to be built as modules". Make REGULATOR_LP872X depend on I2C to allow building lp872x module when I2C=m. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 445b40c6525..37f697dc4b4 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -201,7 +201,7 @@ config REGULATOR_LP3972
config REGULATOR_LP872X
tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators"
- depends on I2C=y
+ depends on I2C
select REGMAP_I2C
help
This driver supports LP8720/LP8725 PMIC