aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2011-10-11 17:11:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-12 05:50:40 -0400
commitd162b3c54b206ee64c87651309ed4442846cafbc (patch)
tree3be5126f71dbe0929defb2a3ecad62c1cd866c40 /drivers/regulator/Kconfig
parentecc37edf7b670616a9dc78a0bdd4911a22d551ec (diff)
regulator: gpio-regulator add dependency on GENERIC_GPIO
Without GENERIC_GPIO "struct gpio" is undefined leading to errors. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 5e0c7b664732..9713b1b860cb 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -66,6 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER
66 66
67config REGULATOR_GPIO 67config REGULATOR_GPIO
68 tristate "GPIO regulator support" 68 tristate "GPIO regulator support"
69 depends on GENERIC_GPIO
69 help 70 help
70 This driver provides support for regulators that can be 71 This driver provides support for regulators that can be
71 controlled via gpios. 72 controlled via gpios.