diff options
author | Geert Uytterhoeven <[email protected]> | 2020-10-05 14:50:49 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-10-07 11:48:44 +0200 |
commit | c6662da804c465f73d2faa61dd33f1e9376cac3d (patch) | |
tree | 12423e84d4aaad6d23ecb6059533b2937abe289c | |
parent | db7515783b99f6ae8b21470cab9ee871956b57fb (diff) |
pinctrl: visconti: PINCTRL_TMPV7700 should depend on ARCH_VISCONTI
The Toshiba Visconti TMPV7700 series pin controller is only present on
Visconti SoCs. Hence add a dependency on ARCH_VISCONTI, to prevent
asking the user about this driver when configuring a kernel without
Visconti platform support.
Fixes: a68a7844264e4fb9 ("pinctrl: visconti: Add Toshiba Visconti SoCs pinctrl support")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Nobuhiro Iwamatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r-- | drivers/pinctrl/visconti/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/visconti/Kconfig b/drivers/pinctrl/visconti/Kconfig index 198ec33189cc..42653fc60413 100644 --- a/drivers/pinctrl/visconti/Kconfig +++ b/drivers/pinctrl/visconti/Kconfig @@ -9,6 +9,6 @@ config PINCTRL_VISCONTI config PINCTRL_TMPV7700 bool "Toshiba Visconti TMPV7700 series pinctrl driver" depends on OF - depends on ARM64 || COMPILE_TEST + depends on ARCH_VISCONTI || COMPILE_TEST select PINCTRL_VISCONTI - default ARM64 && ARCH_VISCONTI + default ARCH_VISCONTI |