From: Peng Fan Date: Thu, 11 Dec 2025 10:01:19 +0000 (+0800) Subject: power: regulator: Fix dependency of SPL_DM_REGULATOR_GPIO X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f495781dd06007eeaba61fec9f71908fa491ec9;p=thirdparty%2Fu-boot.git power: regulator: Fix dependency of SPL_DM_REGULATOR_GPIO gpio-regulator uses dm gpio API, so it depends on SPL_DM_GPIO, not SPL_GPIO. Reported-by: Tom Rini Reviewed-by: Tom Rini Signed-off-by: Peng Fan --- diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 124b0b34c41..c6da459a212 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -242,7 +242,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