pinctrl: visconti: PINCTRL_TMPV7700 should depend on ARCH_VISCONTI
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 5 Oct 2020 12:50:49 +0000 (14:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Oct 2020 09:48:44 +0000 (11:48 +0200)
commitc6662da804c465f73d2faa61dd33f1e9376cac3d
tree12423e84d4aaad6d23ecb6059533b2937abe289c
parentdb7515783b99f6ae8b21470cab9ee871956b57fb
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 <geert+renesas@glider.be>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Link: https://lore.kernel.org/r/20201005125049.26926-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/visconti/Kconfig