[PATCH] regulator: lp872x: Depend on I2C=y

From: Mark Brown
Date: Thu Jun 21 2012 - 05:56:56 EST


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

Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
drivers/regulator/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index e056c09..27fe52f 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
--
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/