* [PATCH v2] reset: gpio: Fix missing gpiolib dependency for GPIO reset controller
@ 2024-03-25 16:51 Mark Brown
0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2024-03-25 16:51 UTC (permalink / raw)
To: Philipp Zabel, Krzysztof Kozlowski, Bartosz Golaszewski
Cc: linux-kernel, Mark Brown
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: cee544a40e44 ("reset: gpio: Add GPIO-based reset controller")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Changes in v2:
- Rebase onto v6.9-rc1.
- Link to v1: https://lore.kernel.org/r/20240320-reset-gpiolib-deps-v1-1-eaf5d30fa647@kernel.org
---
drivers/reset/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 85b27c42cf65..f426b4c39179 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -68,6 +68,7 @@ config RESET_BRCMSTB_RESCAL
config RESET_GPIO
tristate "GPIO reset controller"
+ depends on GPIOLIB
help
This enables a generic reset controller for resets attached via
GPIOs. Typically for OF platforms this driver expects "reset-gpios"
---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240320-reset-gpiolib-deps-f76269197fc0
Best regards,
--
Mark Brown <broonie@kernel.org>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-25 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 16:51 [PATCH v2] reset: gpio: Fix missing gpiolib dependency for GPIO reset controller Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).