projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb2c7e
)
regulator: ltc3589: Fix module dependency
author
Axel Lin
<
[email protected]
>
Tue, 27 May 2014 05:51:49 +0000
(13:51 +0800)
committer
Mark Brown
<
[email protected]
>
Tue, 27 May 2014 11:06:32 +0000
(12:06 +0100)
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]
>
Acked-by: Philipp Zabel <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/regulator/Kconfig
b/drivers/regulator/Kconfig
index 5599a61bd88c0a5ebb4694c12849b7d7dcb12de9..4c12caba37eef18cf9f6f0e626183646e8c769f6 100644
(file)
--- a/
drivers/regulator/Kconfig
+++ b/
drivers/regulator/Kconfig
@@
-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.