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 <jonas@kwiboo.se> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user