From: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date: Thu, 21 Jun 2012 09:35:58 +0000 (+0100)
Subject: regulator: lp872x: Depend on I2C=y
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc2060cfe2aa2b62ba2f4a19fce0c20eceefe7ca;p=linux.git

regulator: lp872x: Depend on I2C=y

Kconfig doesn't do the right thing for us here.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index e056c09661a26..27fe52f592d9f 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -234,7 +234,7 @@ config REGULATOR_LP3972
 
 config REGULATOR_LP872X
 	bool "TI/National Semiconductor LP8720/LP8725 voltage regulators"
-	depends on I2C
+	depends on I2C=y
 	select REGMAP_I2C
 	help
 	  This driver supports LP8720/LP8725 PMIC