From: Bartosz Golaszewski Date: Thu, 24 Apr 2025 08:35:31 +0000 (+0200) Subject: pinctrl: at91: allow building the module with COMPILE_TEST=y X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8e86af65f39df6a8f1c1f033b90a5f7d5457ee7a;p=users%2Fdwmw2%2Flinux.git pinctrl: at91: allow building the module with COMPILE_TEST=y Extend the build coverage by allowing to build the module with COMPILE_TEST enabled. We can do this as the driver doesn't depend on any architecture-specific bits. Signed-off-by: Bartosz Golaszewski Link: https://lore.kernel.org/20250424-gpiochip-set-rv-pinctrl-part2-v1-8-504f91120b99@linaro.org Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 464cc9aca157a..db84d80b7e7d3 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -103,8 +103,7 @@ config PINCTRL_AS3722 config PINCTRL_AT91 bool "AT91 pinctrl driver" - depends on OF - depends on ARCH_AT91 + depends on (OF && ARCH_AT91) || COMPILE_TEST select PINMUX select PINCONF select GPIOLIB