Skip to content

Commit 7dfc006

Browse files
arndbbroonie
authored andcommitted
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: bf01730 ("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>
1 parent 254f496 commit 7dfc006

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/regulator/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,7 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
12311231
tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
12321232
depends on ARM || ARM64 || COMPILE_TEST
12331233
depends on BACKLIGHT_CLASS_DEVICE
1234+
depends on GPIOLIB
12341235
depends on I2C
12351236
select REGMAP_I2C
12361237
help

0 commit comments

Comments
 (0)