diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-08 14:19:08 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-08 14:19:08 -0400 |
commit | fa6f458c679f55edd11e8e34f209d4a0e01bf7bc (patch) | |
tree | 6c6862df3c961794ed864319b85dc493acc0f3ee /drivers/mmc | |
parent | 187c7aba221f633dffa2f33bd582147059ed24f3 (diff) | |
parent | e3fed5ce790730dd3e05c810de8ee483af3fe42a (diff) |
Merge branch 'master_regulator/fixes' of https://source.denx.de/u-boot/custodians/u-boot-sh
- Fix usage of CONFIG_IS_ENABLED and DM_REGULATOR
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/npcm_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/npcm_sdhci.c b/drivers/mmc/npcm_sdhci.c index 7eb17cce0b3..d63521d6855 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 */ |