Message ID | d70279ba02a67250203744b38314f4475b3c5671.1728986052.git.geert+renesas@glider.be |
---|---|
State | New |
Headers | show |
Series | pinctrl: PINCTRL_K230 should depend on ARCH_CANAAN | expand |
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 216662189e8d8cda..10533438398bc14e 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -271,6 +271,7 @@ config PINCTRL_K210 config PINCTRL_K230 bool "Pinctrl driver for the Canaan Kendryte K230 SoC" depends on OF + depends on ARCH_CANAAN || COMPILE_TEST select GENERIC_PINCTRL_GROUPS select GENERIC_PINMUX_FUNCTIONS select GENERIC_PINCONF
The Canaan Kendryte K230 pin controller is only present on Canaan Kendryte K230 SoCs. Hence add a dependency on ARCH_CANAAN, to prevent asking the user about this driver when configuring a kernel without Canaan Kendryte series SoC platform support. Fixes: 545887eab6f6776a ("pinctrl: canaan: Add support for k230 SoC") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/pinctrl/Kconfig | 1 + 1 file changed, 1 insertion(+)