Commit d162b3c5 authored by Heiko Stübner's avatar Heiko Stübner Committed by Mark Brown

regulator: gpio-regulator add dependency on GENERIC_GPIO

Without GENERIC_GPIO "struct gpio" is undefined leading to errors.
Reported-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Acked-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent ecc37edf
...@@ -66,6 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER ...@@ -66,6 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER
config REGULATOR_GPIO config REGULATOR_GPIO
tristate "GPIO regulator support" tristate "GPIO regulator support"
depends on GENERIC_GPIO
help help
This driver provides support for regulators that can be This driver provides support for regulators that can be
controlled via gpios. controlled via gpios.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment