[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1340187060-15072-1-git-send-email-broonie@opensource.wolfsonmicro.com>
Date: Wed, 20 Jun 2012 11:11:00 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Milo.Kim@...com, Liam Girdwood <lrg@...com>
Cc: linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: [PATCH] regulator: lp872x: Don't allow modular build
Fixes link failure due to devm_gpio_request_one()
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
---
drivers/regulator/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 870f730..434462a 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -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
--
1.7.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists