There was some mess in the dependencies in the pinctrl
Kconfig for compile tests under allmodconfig. Mea Culpa.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 
 config PINCTRL_MESON
        bool
+       depends on OF
        select PINMUX
        select PINCONF
        select GENERIC_PINCONF
+       select GPIOLIB
        select OF_GPIO
        select REGMAP_MMIO
 
 
 config PINCTRL_TB10X
        bool
-       depends on ARC_PLAT_TB10X
+       depends on OF && ARC_PLAT_TB10X
+       select GPIOLIB
 
 endmenu
 
 
 
 config PINCTRL_MTK_COMMON
        bool
+       depends on OF
        select PINMUX
        select GENERIC_PINCONF
        select GPIOLIB
 # For ARMv7 SoCs
 config PINCTRL_MT8135
        bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
+       depends on OF
        default MACH_MT8135
        select PINCTRL_MTK_COMMON
 
 # For ARMv8 SoCs
 config PINCTRL_MT8173
        bool "Mediatek MT8173 pin control"
+       depends on OF
        depends on ARM64 || COMPILE_TEST
        default ARM64 && ARCH_MEDIATEK
        select PINCTRL_MTK_COMMON
 
 config PINCTRL_NOMADIK
        bool "Nomadik pin controller driver"
        depends on ARCH_U8500 || ARCH_NOMADIK
+       depends on OF && GPIOLIB
        select PINMUX
        select PINCONF
-       select GPIOLIB
        select OF_GPIO
        select GPIOLIB_IRQCHIP