From: Paul Cercueil Date: Tue, 21 Aug 2018 16:42:35 +0000 (+0200) Subject: pinctrl: ingenic: Drop dependency on MACH_INGENIC X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=635c20a1fa79f30a5b3a603098a316c838e66983;p=openwrt%2Fstaging%2Fblogic.git pinctrl: ingenic: Drop dependency on MACH_INGENIC 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 3843a3609a32..f7be9e1455b5 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -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