Skip to content

Commit

Permalink
regulator: gpio-regulator add dependency on GENERIC_GPIO
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Stübner authored and Mark Brown committed Oct 12, 2011
1 parent ecc37ed commit d162b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d162b3c

Please sign in to comment.