Skip to content

Commit c6662da

Browse files
geertulinusw
authored andcommitted
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: a68a784 ("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]>
1 parent db75157 commit c6662da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/visconti/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ config PINCTRL_VISCONTI
99
config PINCTRL_TMPV7700
1010
bool "Toshiba Visconti TMPV7700 series pinctrl driver"
1111
depends on OF
12-
depends on ARM64 || COMPILE_TEST
12+
depends on ARCH_VISCONTI || COMPILE_TEST
1313
select PINCTRL_VISCONTI
14-
default ARM64 && ARCH_VISCONTI
14+
default ARCH_VISCONTI

0 commit comments

Comments
 (0)