Commit c6662da8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Walleij

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: a68a7844 ("pinctrl: visconti: Add Toshiba Visconti SoCs pinctrl support")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Link: https://lore.kernel.org/r/20201005125049.26926-1-geert+renesas@glider.beSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent db751578
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment