gpio/pinctrl: ingenic: depend on OF
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 11:40:45 +0000 (13:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 11:41:50 +0000 (13:41 +0200)
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>
drivers/gpio/Kconfig
drivers/pinctrl/Kconfig

index 64bc995df191053e12ea81a63a98489794f2dd6c..395c85df48fd814d00c65239e7314b2132d752db 100644 (file)
@@ -244,6 +244,7 @@ config GPIO_ICH
 
 config GPIO_INGENIC
        tristate "Ingenic JZ47xx SoCs GPIO support"
+       depends on OF
        depends on MACH_INGENIC || COMPILE_TEST
        select GPIOLIB_IRQCHIP
        help
index abc1cef7ad9694bc617ed38e2f0dc4dbdbe8ea56..7ae04a97e53024938090438fcd9fbf4c58767f58 100644 (file)
@@ -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