diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-20 06:08:43 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-20 06:08:43 -0400 |
commit | 809d310c7e69289c94a4475d287ba1c512885478 (patch) | |
tree | ffabdfe0de54cbcbedef7ce7931cd90b71ffd5a6 /drivers/regulator/Kconfig | |
parent | af8b5fc31099abd7f3b297332c9e280ec0b30a71 (diff) |
regulator: lp872x: Don't allow modular build
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>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r-- | drivers/regulator/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 870f7300b156..434462ada7c0 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig | |||
@@ -20,6 +20,7 @@ menuconfig REGULATOR | |||
20 | 20 | ||
21 | If unsure, say no. | 21 | If unsure, say no. |
22 | 22 | ||
23 | |||
23 | if REGULATOR | 24 | if REGULATOR |
24 | 25 | ||
25 | config REGULATOR_DEBUG | 26 | config REGULATOR_DEBUG |
@@ -225,7 +226,7 @@ config REGULATOR_LP3972 | |||
225 | on National Semiconductors LP3972 PMIC | 226 | on National Semiconductors LP3972 PMIC |
226 | 227 | ||
227 | config REGULATOR_LP872X | 228 | config REGULATOR_LP872X |
228 | tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators" | 229 | bool "TI/National Semiconductor LP8720/LP8725 voltage regulators" |
229 | depends on I2C | 230 | depends on I2C |
230 | select REGMAP_I2C | 231 | select REGMAP_I2C |
231 | help | 232 | help |