Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Linus Walleij
c6662da8 db751578

+2 -2
+2 -2
drivers/pinctrl/visconti/Kconfig
··· 9 9 config PINCTRL_TMPV7700 10 10 bool "Toshiba Visconti TMPV7700 series pinctrl driver" 11 11 depends on OF 12 - depends on ARM64 || COMPILE_TEST 12 + depends on ARCH_VISCONTI || COMPILE_TEST 13 13 select PINCTRL_VISCONTI 14 - default ARM64 && ARCH_VISCONTI 14 + default ARCH_VISCONTI