Re: [PATCH] regulator: ltc3589: Fix module dependency
On Tue, May 27, 2014 at 01:51:49PM +0800, Axel Lin wrote: > Make this driver depend on I2C and select REGMAP_I2C to fix build failure. > Also allows this driver to be built as module. Applied, thanks. signature.asc Description: Digital signature
Re: [PATCH] regulator: ltc3589: Fix module dependency
Am Dienstag, den 27.05.2014, 13:51 +0800 schrieb Axel Lin: > Make this driver depend on I2C and select REGMAP_I2C to fix build failure. > Also allows this driver to be built as module. > > Reported-by: Stephen Rothwell > Signed-off-by: Axel Lin Acked-by: Philipp Zabel > --- > drivers/regulator/Kconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig > index 8f5c880..c2fa0b4 100644 > --- a/drivers/regulator/Kconfig > +++ b/drivers/regulator/Kconfig > @@ -273,7 +273,9 @@ config REGULATOR_LP8788 > This driver supports LP8788 voltage regulator chip. > > config REGULATOR_LTC3589 > - bool "LTC3589 8-output voltage regulator" > + tristate "LTC3589 8-output voltage regulator" > + depends on I2C > + select REGMAP_I2C thanks Philipp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] regulator: ltc3589: Fix module dependency
Am Dienstag, den 27.05.2014, 13:51 +0800 schrieb Axel Lin: Make this driver depend on I2C and select REGMAP_I2C to fix build failure. Also allows this driver to be built as module. Reported-by: Stephen Rothwell s...@canb.auug.org.au Signed-off-by: Axel Lin axel@ingics.com Acked-by: Philipp Zabel p.za...@pengutronix.de --- drivers/regulator/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 8f5c880..c2fa0b4 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -273,7 +273,9 @@ config REGULATOR_LP8788 This driver supports LP8788 voltage regulator chip. config REGULATOR_LTC3589 - bool LTC3589 8-output voltage regulator + tristate LTC3589 8-output voltage regulator + depends on I2C + select REGMAP_I2C thanks Philipp -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] regulator: ltc3589: Fix module dependency
On Tue, May 27, 2014 at 01:51:49PM +0800, Axel Lin wrote: Make this driver depend on I2C and select REGMAP_I2C to fix build failure. Also allows this driver to be built as module. Applied, thanks. signature.asc Description: Digital signature
[PATCH] regulator: ltc3589: Fix module dependency
Make this driver depend on I2C and select REGMAP_I2C to fix build failure. Also allows this driver to be built as module. Reported-by: Stephen Rothwell Signed-off-by: Axel Lin --- drivers/regulator/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 8f5c880..c2fa0b4 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -273,7 +273,9 @@ config REGULATOR_LP8788 This driver supports LP8788 voltage regulator chip. config REGULATOR_LTC3589 - bool "LTC3589 8-output voltage regulator" + tristate "LTC3589 8-output voltage regulator" + depends on I2C + select REGMAP_I2C help This enables support for the LTC3589, LTC3589-1, and LTC3589-2 8-output regulators controlled via I2C. -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] regulator: ltc3589: Fix module dependency
Make this driver depend on I2C and select REGMAP_I2C to fix build failure. Also allows this driver to be built as module. Reported-by: Stephen Rothwell s...@canb.auug.org.au Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 8f5c880..c2fa0b4 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -273,7 +273,9 @@ config REGULATOR_LP8788 This driver supports LP8788 voltage regulator chip. config REGULATOR_LTC3589 - bool LTC3589 8-output voltage regulator + tristate LTC3589 8-output voltage regulator + depends on I2C + select REGMAP_I2C help This enables support for the LTC3589, LTC3589-1, and LTC3589-2 8-output regulators controlled via I2C. -- 1.8.3.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/