aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-30 10:13:44 -0400
committerMark Brown <broonie@linaro.org>2013-08-30 11:40:26 -0400
commit613965fb49d507faa189ebf31767a907d98bb7fd (patch)
tree58773bf11446b57306ead7f320308a05a4cc1564 /drivers/regulator/Kconfig
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/Kconfig')
-rw-r--r--drivers/regulator/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 445b40c65253..37f697dc4b4c 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -201,7 +201,7 @@ config REGULATOR_LP3972
201 201
202config REGULATOR_LP872X 202config REGULATOR_LP872X
203 tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators" 203 tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators"
204 depends on I2C=y 204 depends on I2C
205 select REGMAP_I2C 205 select REGMAP_I2C
206 help 206 help
207 This driver supports LP8720/LP8725 PMIC 207 This driver supports LP8720/LP8725 PMIC