pinctrl: ingenic: Drop dependency on MACH_INGENIC
authorPaul Cercueil <paul@crapouillou.net>
Tue, 21 Aug 2018 16:42:35 +0000 (18:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 11:37:59 +0000 (13:37 +0200)
Depending on MACH_INGENIC prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index 3843a3609a32b580b395a02a82a67b662c3dd47f..f7be9e1455b537868db1ff76cb5127473b429bc3 100644 (file)
@@ -309,9 +309,9 @@ config PINCTRL_ZYNQ
 
 config PINCTRL_INGENIC
        bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
-       default y
+       default MACH_INGENIC
        depends on OF
-       depends on MACH_INGENIC || COMPILE_TEST
+       depends on MIPS || COMPILE_TEST
        select GENERIC_PINCONF
        select GENERIC_PINCTRL_GROUPS
        select GENERIC_PINMUX_FUNCTIONS