pinctrl: equilibrium: Add architecture dependency
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 May 2020 11:36:25 +0000 (13:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 16 May 2020 09:21:25 +0000 (11:21 +0200)
The Equilibrium pin controller is only present on Intel Lightning
Mountain SoCs.  Add an architecture dependency to the
PINCTRL_EQUILIBRIUM config symbol, to avoid asking the user about it
when configuring a kernel for a non-x86 architecture.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200507113626.24026-2-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index f646f07..8503012 100644 (file)
@@ -442,6 +442,7 @@ config PINCTRL_TB10X
 config PINCTRL_EQUILIBRIUM
        tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
        depends on OF && HAS_IOMEM
+       depends on X86 || COMPILE_TEST
        select PINMUX
        select PINCONF
        select GPIOLIB