From 35c3e733fe4cbaa91f6cc02ddbb30f6feb3eb1fc Mon Sep 17 00:00:00 2001 From: Jonas Karlman Date: Thu, 9 Jul 2026 23:02:42 +0000 Subject: mmc: sdhci: Use CONFIG_IS_ENABLED for MMC_IO_VOLTAGE Use CONFIG_IS_ENABLED() instead of IS_ENABLED() when checking the MMC_IO_VOLTAGE symbol so the Kconfig option is evaluated correctly for xPL builds. Signed-off-by: Jonas Karlman Reviewed-by: Peng Fan Signed-off-by: Peng Fan --- drivers/mmc/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 08594e10266..71a6d8ea2f5 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -551,7 +551,7 @@ void sdhci_set_uhs_timing(struct sdhci_host *host) void sdhci_set_voltage(struct sdhci_host *host) { - if (IS_ENABLED(CONFIG_MMC_IO_VOLTAGE)) { + if (CONFIG_IS_ENABLED(MMC_IO_VOLTAGE)) { struct mmc *mmc = (struct mmc *)host->mmc; u32 ctrl; -- cgit v1.3.1