Commit c504985e authored by Linus Walleij's avatar Linus Walleij

gpio/pinctrl: ingenic: depend on OF

Fix compile errors due to missing OF.

Cc: Paul Cercueil <paul@crapouillou.net>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 82e1e5cd
...@@ -244,6 +244,7 @@ config GPIO_ICH ...@@ -244,6 +244,7 @@ config GPIO_ICH
config GPIO_INGENIC config GPIO_INGENIC
tristate "Ingenic JZ47xx SoCs GPIO support" tristate "Ingenic JZ47xx SoCs GPIO support"
depends on OF
depends on MACH_INGENIC || COMPILE_TEST depends on MACH_INGENIC || COMPILE_TEST
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
help help
......
...@@ -312,6 +312,7 @@ config PINCTRL_ZYNQ ...@@ -312,6 +312,7 @@ config PINCTRL_ZYNQ
config PINCTRL_INGENIC config PINCTRL_INGENIC
bool "Pinctrl driver for the Ingenic JZ47xx SoCs" bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
default y default y
depends on OF
depends on MACH_INGENIC || COMPILE_TEST depends on MACH_INGENIC || COMPILE_TEST
select GENERIC_PINCONF select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS select GENERIC_PINCTRL_GROUPS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment