Skip to contentSkip to conversation

regulator: lp872x: Don't allow modular build

PATCH New Mark Brown 1 participant 1 message Jun 20, 2012 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: lp872x: Don't allow modular build

Fixes link failure due to devm_gpio_request_one()

---
 drivers/regulator/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/regulator/Kconfig +2 -1
index 870f730..434462a 100644
@@ -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
Signature · 1 line
1.7.10