summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-22 13:04:55 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-12-22 13:08:06 +0300
commita7c23f8d154f7919c5fcfceea6e0897be2d5ab71 (patch)
tree74e9d3465269ef8dc6045d4d4213521d8c86a1ee /drivers/gpio
parent72ab2f76319e15f7ad1f9d5f529df47099d4d271 (diff)
downloadlinux-a7c23f8d154f7919c5fcfceea6e0897be2d5ab71.tar.xz
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>
Diffstat (limited to 'drivers/gpio')
-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.