[PATCH 1/6] misc: ub251xb: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

Simon Glass sjg at chromium.org
Tue Feb 28 16:10:53 CET 2023


On Mon, 27 Feb 2023 at 18:55, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> The DM_REGULATOR symbol has SPL counterpart in:
>   drivers/power/regulator/Kconfig:config SPL_DM_REGULATOR
> Use CONFIG_IS_ENABLED() macro to match on the correct
> variant depending on the build stage.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> ---
>  drivers/misc/usb251xb.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list