gpio: fix incorrect depends on for SPL_GPIO_HOG
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Tue, 12 Jul 2022 15:44:19 +0000 (17:44 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 19:32:20 +0000 (15:32 -0400)
Since commit 83061dbd1c89 ("Rename GPIO_SUPPORT to GPIO"),
SPL_GPIO_SUPPORT has been renamed to SPL_GPIO, meaning that SPL_GPIO_HOG
can never be enabled.

Let's fix this by using the proper name for the Kconfig option.

Fixes: 1d99e673c752 ("gpio: Enable hogging support in SPL")
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/Kconfig

index 82a8bca..7e4c357 100644 (file)
@@ -70,7 +70,7 @@ config GPIO_HOG
 
 config SPL_GPIO_HOG
        bool "Enable GPIO hog support in SPL"
-       depends on SPL_GPIO_SUPPORT
+       depends on SPL_GPIO
        help
          Enable gpio hog support in SPL
          The GPIO chip may contain GPIO hog definitions. GPIO hogging