]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/mmc_legacy.c
dm: mmc: Drop CONFIG_DM_MMC_OPS
[people/ms/u-boot.git] / drivers / mmc / mmc_legacy.c
index 59dc3df35f8f057ef58e2005a6b10fa53ff62306..100b931e5b349f33d36691a5c552675935c4be8c 100644 (file)
@@ -150,7 +150,7 @@ struct mmc *mmc_create(const struct mmc_config *cfg, void *priv)
            cfg->f_max == 0 || cfg->b_max == 0)
                return NULL;
 
-#if !CONFIG_IS_ENABLED(DM_MMC_OPS)
+#if !CONFIG_IS_ENABLED(DM_MMC)
        if (cfg->ops == NULL || cfg->ops->send_cmd == NULL)
                return NULL;
 #endif