Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: gpio-regulator add dependency on GENERIC_GPIO

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>

authored by

Heiko Stübner and committed by
Mark Brown
d162b3c5 ecc37edf

+1
+1
drivers/regulator/Kconfig
··· 66 66 67 67 config REGULATOR_GPIO 68 68 tristate "GPIO regulator support" 69 + depends on GENERIC_GPIO 69 70 help 70 71 This driver provides support for regulators that can be 71 72 controlled via gpios.