summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-05-29 14:40:45 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 14:41:50 +0300
commitc504985e3be8ab4d232d7ff63e773948e06f2da6 (patch)
tree12f6e3fce1ee709560ecc5e640c3254f31bd11c0 /drivers/pinctrl/Kconfig
parent82e1e5cd30f52df4f76882ff4c87a1906c8da7ce (diff)
downloadlinux-c504985e3be8ab4d232d7ff63e773948e06f2da6.tar.xz
gpio/pinctrl: ingenic: depend on OF
Fix compile errors due to missing OF. Cc: Paul Cercueil <paul@crapouillou.net> Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index abc1cef7ad96..7ae04a97e530 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -312,6 +312,7 @@ config PINCTRL_ZYNQ
config PINCTRL_INGENIC
bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
default y
+ depends on OF
depends on MACH_INGENIC || COMPILE_TEST
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS