Skip to contentSkip to conversation

regulator: gpio-regulator add dependency on GENERIC_GPIO

PATCH Applied Heiko Stübner 3 participants 3 messages Oct 11, 2011 – Oct 12, 2011 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: gpio-regulator add dependency on GENERIC_GPIO

Without GENERIC_GPIO "struct gpio" is undefined leading to errors.

---
 drivers/regulator/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/Kconfig +1 -0
index 5e0c7b6..9713b1b 100644
@@ -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.
Signature · 1 line
1.7.2.3
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Heiko Stübner

Without GENERIC_GPIO "struct gpio" is undefined leading to errors.

Works for me. Thanks.

Quoted 16 lines
---
 drivers/regulator/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/Kconfig +1 -0
index 5e0c7b6..9713b1b 100644
@@ -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.
Signature · 2 lines
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***