gpio: mvebu: allow building driver for Armada 7K/8K
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 19 May 2017 16:09:23 +0000 (18:09 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 May 2017 09:21:26 +0000 (11:21 +0200)
The mvebu gpio driver can also be used on arm64 mvebu SoC such as the
Armada 7K/8K. This commit allows to build the driver for them (when only
ARCH_MVEBU is defined)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 75e64607b209d3132e0e56acea2cd1603a4c3223..805754401845f9bb5dcf6284f70d47c73dd92497 100644 (file)
@@ -326,7 +326,7 @@ config GPIO_MPC8XXX
 
 config GPIO_MVEBU
        def_bool y
-       depends on PLAT_ORION
+       depends on PLAT_ORION || ARCH_MVEBU
        depends on OF_GPIO
        select GENERIC_IRQ_CHIP