From: Axel Lin Date: Fri, 30 Aug 2013 14:13:44 +0000 (+0800) Subject: regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=613965fb49d507faa189ebf31767a907d98bb7fd;p=openwrt%2Fstaging%2Fblogic.git regulator: lp872x: Make REGULATOR_LP872X depend on I2C rather than I2C=y lp872x regulator driver can be built a module after commit 631a1fc "regulator: build: Allow most regulators to be built as modules". Make REGULATOR_LP872X depend on I2C to allow building lp872x module when I2C=m. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 445b40c65253..37f697dc4b4c 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -201,7 +201,7 @@ config REGULATOR_LP3972 config REGULATOR_LP872X tristate "TI/National Semiconductor LP8720/LP8725 voltage regulators" - depends on I2C=y + depends on I2C select REGMAP_I2C help This driver supports LP8720/LP8725 PMIC