diff mbox series

gpio: sama5d2-piobu: Depend on OF_GPIO

Message ID 20181222100818.18246-1-linus.walleij@linaro.org
State New
Headers show
Series gpio: sama5d2-piobu: Depend on OF_GPIO | expand

Commit Message

Linus Walleij Dec. 22, 2018, 10:08 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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.