summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc_legacy.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-29 20:35:31 +0300
committerJaehoon Chung <jh80.chung@samsung.com>2017-08-17 10:59:55 +0300
commite7881d85a94b2e35b12a163c3af671057e9ca5e8 (patch)
treebe82191d632fd66b421b22eb309d5e9e82f42fed /drivers/mmc/mmc_legacy.c
parentb9a40c0c0ad82944c55d10b866a96b25c48e9f5f (diff)
downloadu-boot-e7881d85a94b2e35b12a163c3af671057e9ca5e8.tar.xz
dm: mmc: Drop CONFIG_DM_MMC_OPS
All boards which use DM_MMC have now been converted to use DM_MMC_OPS. Drop the option and good riddance. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/mmc_legacy.c')
-rw-r--r--drivers/mmc/mmc_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc_legacy.c b/drivers/mmc/mmc_legacy.c
index 59dc3df35f..100b931e5b 100644
--- a/drivers/mmc/mmc_legacy.c
+++ b/drivers/mmc/mmc_legacy.c
@@ -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