gpio: fix incorrect depends on for SPL_GPIO_HOG

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>
This commit is contained in:
Quentin Schulz 2022-07-12 17:44:19 +02:00 committed by Tom Rini
parent 88513fe584
commit 5536a5f4ac

View File

@ -70,7 +70,7 @@ config GPIO_HOG
config SPL_GPIO_HOG config SPL_GPIO_HOG
bool "Enable GPIO hog support in SPL" bool "Enable GPIO hog support in SPL"
depends on SPL_GPIO_SUPPORT depends on SPL_GPIO
help help
Enable gpio hog support in SPL Enable gpio hog support in SPL
The GPIO chip may contain GPIO hog definitions. GPIO hogging The GPIO chip may contain GPIO hog definitions. GPIO hogging