aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-22 11:04:55 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-22 11:08:06 +0100
commita7c23f8d154f7919c5fcfceea6e0897be2d5ab71 (patch)
tree74e9d3465269ef8dc6045d4d4213521d8c86a1ee
parentgpio: Add Cadence GPIO driver (diff)
downloadlinux-dev-a7c23f8d154f7919c5fcfceea6e0897be2d5ab71.tar.xz
linux-dev-a7c23f8d154f7919c5fcfceea6e0897be2d5ab71.zip
gpio: sama5d2-piobu: Depend on OF_GPIO
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>
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 7b3e4e19a799..b5a2845347ec 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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.