Skip to content

Commit 01f6a84

Browse files
brooniepH5
authored andcommitted
reset: gpio: Fix missing gpiolib dependency for GPIO reset controller
The GPIO reset controller uses gpiolib but there is no Kconfig dependency reflecting this fact, add one. With the addition of the controller to the arm64 defconfig this is causing build breaks for arm64 virtconfig in -next: aarch64-linux-gnu-ld: drivers/reset/core.o: in function `__reset_add_reset_gpio_lookup': /build/stage/linux/drivers/reset/core.c:861:(.text+0xccc): undefined reference to `gpio_device_find_by_fwnode' Fixes: cee544a ("reset: gpio: Add GPIO-based reset controller") Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240325-reset-gpiolib-deps-v2-1-3ed2517f5f53@kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent 1613e60 commit 01f6a84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/reset/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ config RESET_BRCMSTB_RESCAL
6868

6969
config RESET_GPIO
7070
tristate "GPIO reset controller"
71+
depends on GPIOLIB
7172
help
7273
This enables a generic reset controller for resets attached via
7374
GPIOs. Typically for OF platforms this driver expects "reset-gpios"

0 commit comments

Comments
 (0)