]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: ub251xb: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 01:55:18 +0000 (02:55 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 8 Apr 2023 01:53:23 +0000 (03:53 +0200)
commit7d39feb137d9a2a9ae66e19dfeec99f7b662e020
treea2ee66c036a7f99db4e69cc55ce4d855a030d660
parent19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45
misc: ub251xb: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR

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@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/usb251xb.c