Skip to content

Commit

Permalink
regulator: lp872x: Don't allow modular build
Browse files Browse the repository at this point in the history
Fixes link failure due to devm_gpio_request_one()

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jun 20, 2012
1 parent af8b5fc commit 809d310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ menuconfig REGULATOR

If unsure, say no.


if REGULATOR

config REGULATOR_DEBUG
Expand Down Expand Up @@ -225,7 +226,7 @@ config REGULATOR_LP3972
on National Semiconductors LP3972 PMIC

config REGULATOR_LP872X
tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators"
bool "TI/National Semiconductor LP8720/LP8725 voltage regulators"
depends on I2C
select REGMAP_I2C
help
Expand Down

0 comments on commit 809d310

Please sign in to comment.