summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2018-08-21 19:42:35 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-08-29 14:37:59 +0300
commit635c20a1fa79f30a5b3a603098a316c838e66983 (patch)
tree211f91ed445ca26e9fe2f3554c150769eb41efe7 /drivers/pinctrl/Kconfig
parentf2a967658a5d0f456d6f0530d3bc2b101260eeb5 (diff)
downloadlinux-635c20a1fa79f30a5b3a603098a316c838e66983.tar.xz
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 <paul@crapouillou.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig4
1 files changed, 2 insertions, 2 deletions
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