Skip to content

Commit

Permalink
regulator: ltc3589: Fix module dependency
Browse files Browse the repository at this point in the history
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 <sfr@canb.auug.org.au>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Axel Lin authored and Mark Brown committed May 27, 2014
1 parent 3eb2c7e commit ac1d686
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,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.
Expand Down

0 comments on commit ac1d686

Please sign in to comment.