regulator: gpio-regulator add dependency on GENERIC_GPIO

A patch from »regulator: gpio-regulator add dependency on GENERIC_GPIO« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 11 Oct 2011 22:45:16 +0200

Commit-Message

Without GENERIC_GPIO "struct gpio" is undefined leading to errors. Reported-by: Randy Dunlap <rdunlap@...> Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/regulator/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)

Statistics

  • 1 lines added
  • 0 lines removed

Changes

-------------------------- drivers/regulator/Kconfig ---------------------------
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.
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...