aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorYong Shen <yong.shen@linaro.org>2010-12-14 14:00:54 +0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-01-12 14:33:03 +0000
commit167e3d8af98a111994c4d6b3c5cbc589aedbbc2a (patch)
tree16b54e06e33b949a0ca98542131610926d483bae /drivers/regulator/Kconfig
parent57c78e359a35c69eca4c88f107500f74ef7f0acf (diff)
downloadkernel_samsung_smdk4412-167e3d8af98a111994c4d6b3c5cbc589aedbbc2a.zip
kernel_samsung_smdk4412-167e3d8af98a111994c4d6b3c5cbc589aedbbc2a.tar.gz
kernel_samsung_smdk4412-167e3d8af98a111994c4d6b3c5cbc589aedbbc2a.tar.bz2
make mc13783 regulator code generic
move some common functions and micros of mc13783 regulaor driver to a seperate file, which makes it possible for mc13892 to share code. Signed-off-by: Yong Shen <yong.shen@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index da34981..ce17a03 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -186,9 +186,13 @@ config REGULATOR_PCAP
This driver provides support for the voltage regulators of the
PCAP2 PMIC.
+config REGULATOR_MC13XXX_CORE
+ bool
+
config REGULATOR_MC13783
tristate "Support regulators on Freescale MC13783 PMIC"
depends on MFD_MC13783
+ select REGULATOR_MC13XXX_CORE
help
Say y here to support the regulators found on the Freescale MC13783
PMIC.