Unverified Commit 7dfc0063 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown
Browse files

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: bf017304 ("regulator: drop unneeded dependencies on OF_GPIO")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260429135812.112514-1-arnd@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 254f4963
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1231,6 +1231,7 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
	tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
	depends on ARM || ARM64 || COMPILE_TEST
	depends on BACKLIGHT_CLASS_DEVICE
	depends on GPIOLIB
	depends on I2C
	select REGMAP_I2C
	help