regulator: ltc3589: Fix module dependency
PATCH 1/1 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 <[email protected]>
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/regulator/Kconfig +3 -1
@@ -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.
Signature · 1 line
1.8.3.2
Am Dienstag, den 27.05.2014, 13:51 +0800 schrieb Axel Lin:
Quoted 5 lines
Make this driver depend on I2C and select
REGMAP_I2Cto fix build failure. Also allows this driver to be built as module.Reported-by Stephen Rothwell <[email protected]>Signed-off-by Axel Lin <[email protected]>
Acked-by Philipp Zabel <[email protected]>
Quoted 9 lines
--- drivers/regulator/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/regulator/Kconfig +0
-0
drivers/regulator/Kconfig config REGULATOR_LP8788 · line 278
Quoted 7 lines
drivers/regulator/Kconfig +3
-1@@ -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
Quoted 2 lines · Axel Lin
Make this driver depend on I2C and select
REGMAP_I2Cto fix build failure. Also allows this driver to be built as module.
Applied, thanks.