aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/npcm_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/npcm_sdhci.c')
-rw-r--r--drivers/mmc/npcm_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/npcm_sdhci.c b/drivers/mmc/npcm_sdhci.c
index 7eb17cce0b..d63521d685 100644
--- a/drivers/mmc/npcm_sdhci.c
+++ b/drivers/mmc/npcm_sdhci.c
@@ -36,7 +36,7 @@ static int npcm_sdhci_probe(struct udevice *dev)
return ret;
}
- if (IS_ENABLED(CONFIG_DM_REGULATOR)) {
+ if (CONFIG_IS_ENABLED(DM_REGULATOR)) {
device_get_supply_regulator(dev, "vqmmc-supply", &vqmmc_supply);
vqmmc_uv = dev_read_u32_default(dev, "vqmmc-microvolt", 0);
/* Set IO voltage */