regulator: lp872x: Don't allow modular build
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 10:08:43 +0000 (11:08 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 10:08:43 +0000 (11:08 +0100)
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>
drivers/regulator/Kconfig

index 870f7300b1561ea4dbbad3fd8adfb86945936d78..434462ada7c08bddc9f6b706b3a8977a3a40dae9 100644 (file)
@@ -20,6 +20,7 @@ menuconfig REGULATOR
 
          If unsure, say no.
 
+
 if REGULATOR
 
 config REGULATOR_DEBUG
@@ -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