From d162b3c54b206ee64c87651309ed4442846cafbc Mon Sep 17 00:00:00 2001 From: Heiko Stübner Date: Tue, 11 Oct 2011 23:11:01 +0200 Subject: regulator: gpio-regulator add dependency on GENERIC_GPIO Without GENERIC_GPIO "struct gpio" is undefined leading to errors. Reported-by: Randy Dunlap Acked-by: Randy Dunlap Signed-off-by: Heiko Stuebner Signed-off-by: Mark Brown --- drivers/regulator/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/regulator') 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 config REGULATOR_GPIO tristate "GPIO regulator support" + depends on GENERIC_GPIO help This driver provides support for regulators that can be controlled via gpios. -- cgit v1.2.3-55-g7522