diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-09-13 10:48:13 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-09-13 10:50:21 +0200 |
commit | 6a8a7b5923c1d56d332978b7c0c275cc63d3a1e7 (patch) | |
tree | 9cafa6a99e4c95be2b206ab01b372231fabea7c3 | |
parent | c9336ebe87e77f92ed04a86c0131a0310d0e200d (diff) |
pinctrl: nuvoton: Fix up Kconfig depssent/novoton-kconfig-v1
We have build errors due to missing dependency on OF.
Add the dependency and do it the same way for all three
Nuvotons while we are at it.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/nuvoton/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig index 612e7ba02238..2abbfcec1fae 100644 --- a/drivers/pinctrl/nuvoton/Kconfig +++ b/drivers/pinctrl/nuvoton/Kconfig @@ -2,8 +2,7 @@ config PINCTRL_WPCM450 tristate "Pinctrl and GPIO driver for Nuvoton WPCM450" - depends on ARCH_WPCM450 || COMPILE_TEST - depends on OF + depends on (ARCH_WPCM450 || COMPILE_TEST) && OF select PINMUX select PINCONF select GENERIC_PINCONF @@ -35,7 +34,7 @@ config PINCTRL_NPCM7XX config PINCTRL_NPCM8XX tristate "Pinctrl and GPIO driver for Nuvoton NPCM8XX" - depends on ARCH_NPCM || COMPILE_TEST + depends on (ARCH_NPCM || COMPILE_TEST) && OF select PINMUX select PINCONF select GENERIC_PINCONF |