]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gpio: sama5d2-piobu: Depend on OF_GPIO
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 22 Dec 2018 10:04:55 +0000 (11:04 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 22 Dec 2018 10:08:06 +0000 (11:08 +0100)
This driver clearly needs OF_GPIO so depend on it.
Fixes a build error.

Cc: Andrei Stefanescu <Andrei.Stefanescu@microchip.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 7b3e4e19a7995645b28c388e95c2113e40d1fe82..b5a2845347ec85eaa0868f79d3d56706c4e1afbd 100644 (file)
@@ -441,6 +441,7 @@ config GPIO_REG
 config GPIO_SAMA5D2_PIOBU
        tristate "SAMA5D2 PIOBU GPIO support"
        depends on MFD_SYSCON
+       depends on OF_GPIO
        select GPIO_SYSCON
        help
          Say yes here to use the PIOBU pins as GPIOs.