]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: npcm_sdhci: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 01:55:19 +0000 (02:55 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 8 Apr 2023 01:53:23 +0000 (03:53 +0200)
commit6419dbabe2ccaff9cbe4351080885044f5b468b2
treea91d9e202e6126b3455f597b627a598017af8be9
parent7d39feb137d9a2a9ae66e19dfeec99f7b662e020
mmc: npcm_sdhci: 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/mmc/npcm_sdhci.c