diff mbox series

[1/1] gpio: Fix dependency for gpio-delay

Message ID 20230605072518.256568-1-alexander.stein@ew.tq-group.com
State Accepted
Commit 7ce8d39e342167b2be7004b28926728176e6d94e
Headers show
Series [1/1] gpio: Fix dependency for gpio-delay | expand

Commit Message

Alexander Stein June 5, 2023, 7:25 a.m. UTC
This driver relies on OF_GPIO features, add a dependency to Kconfig.

Fixes: cf5dec80c4e2 ("gpio: Add gpio delay driver")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
This was undetected on my machine as CONFIG_OF_GPIO was already enabled.

 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index a1dac1345f60f..006abaedcae82 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1735,6 +1735,7 @@  config GPIO_AGGREGATOR
 
 config GPIO_DELAY
 	tristate "GPIO delay"
+	depends on OF_GPIO
 	help
 	  Say yes here to enable the GPIO delay, which provides a way to
 	  configure platform specific delays for GPIO ramp-up or ramp-down