Skip to content

Commit 8e86af6

Browse files
Bartosz GolaszewskiLinus Walleij
authored andcommitted
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 <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/20250424-gpiochip-set-rv-pinctrl-part2-v1-8-504f91120b99@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent f0401cc commit 8e86af6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/pinctrl/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ config PINCTRL_AS3722
103103

104104
config PINCTRL_AT91
105105
bool "AT91 pinctrl driver"
106-
depends on OF
107-
depends on ARCH_AT91
106+
depends on (OF && ARCH_AT91) || COMPILE_TEST
108107
select PINMUX
109108
select PINCONF
110109
select GPIOLIB

0 commit comments

Comments
 (0)