From: Peng Fan <[email protected]> gpio-regulator uses dm gpio API, so it depends on SPL_DM_GPIO, not SPL_GPIO.
Reported-by: Tom Rini <[email protected]> Signed-off-by: Peng Fan <[email protected]> --- drivers/power/regulator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 1875e61967c..9a535126c7c 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -249,7 +249,7 @@ config DM_REGULATOR_QCOM_USB_VBUS config SPL_DM_REGULATOR_GPIO bool "Enable Driver Model for GPIO REGULATOR in SPL" - depends on DM_REGULATOR_GPIO && SPL_GPIO + depends on DM_REGULATOR_GPIO && SPL_DM_GPIO select SPL_DM_REGULATOR_COMMON ---help--- This config enables implementation of driver-model regulator uclass -- 2.51.0

