]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: rpi-panel-attiny: add back GPIOLIB dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Apr 2026 13:57:34 +0000 (15:57 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2026 04:12:29 +0000 (13:12 +0900)
commit7dfc0063022078a80fe5774815723c185e4b7b57
tree7372ba3e604e5515c39443db398c21955847162d
parent254f49634ee16a731174d2ae34bc50bd5f45e731
regulator: rpi-panel-attiny: add back GPIOLIB dependency

This driver provides a gpio chip, which is only possible when GPIOLIB
is enabled, which was previously guaranteed by the CONFIG_OF_GPIO
dependency that is now gone:

ERROR: modpost: "gpiochip_get_data" [drivers/regulator/rpi-panel-attiny-regulator.ko] undefined!
ERROR: modpost: "devm_gpiochip_add_data_with_key" [drivers/regulator/rpi-panel-attiny-regulator.ko] undefined!

Add an explicit GPIOLIB dependency instead.

Fixes: bf017304fce1 ("regulator: drop unneeded dependencies on OF_GPIO")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260429135812.112514-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig