gpio: Fix dependency for gpio-delay
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 5 Jun 2023 07:25:18 +0000 (09:25 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 5 Jun 2023 07:36:52 +0000 (09:36 +0200)
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>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig

index d45b55bef2e37889bc49ebe14b1dd9711935bc61..ecabab982fee79f17ec3e945669c6426c5117e24 100644 (file)
@@ -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