regulator: gpio-regulator add dependency on GENERIC_GPIO
PATCH 1/1 regulator: gpio-regulator add dependency on GENERIC_GPIO
Without GENERIC_GPIO "struct gpio" is undefined leading to errors.
Reported-by Randy Dunlap <[email protected]>
Signed-off-by Heiko Stuebner <[email protected]>
--- drivers/regulator/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/Kconfig +1 -0
@@ -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
Quoted 4 lines · Heiko Stübner
Without
GENERIC_GPIO"struct gpio" is undefined leading to errors.Reported-by Randy Dunlap <[email protected]>Signed-off-by Heiko Stuebner <[email protected]>
Works for me. Thanks.
Acked-by Randy Dunlap <[email protected]>
Quoted 16 lines
--- drivers/regulator/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/regulator/Kconfig +1
-0@@ -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 ***
Mark Brown
AppliedQuoted 1 line · Heiko Stübner
Without
GENERIC_GPIO"struct gpio" is undefined leading to errors.
Applied, thanks.