Skip to content

Commit

Permalink
regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Aug 30, 2013
1 parent 631a1fc commit 613965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 613965f

Please sign in to comment.