summaryrefslogtreecommitdiff
path: root/cmd/mmc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 17:36:15 (GMT)
committerSimon Glass <sjg@chromium.org>2016-05-17 15:54:43 (GMT)
commit3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f (patch)
treed2b388a60f961ec40b4ba25ddfef6503fe679c21 /cmd/mmc.c
parent74001a2570ccbc120366e66dd40e8c66e3a6820c (diff)
downloadu-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.xz
dm: mmc: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/mmc.c')
-rw-r--r--cmd/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mmc.c b/cmd/mmc.c
index c5454bf..4f25187 100644
--- a/cmd/mmc.c
+++ b/cmd/mmc.c
@@ -432,7 +432,7 @@ static int do_mmc_part(cmd_tbl_t *cmdtp, int flag,
if (!mmc)
return CMD_RET_FAILURE;
- mmc_dev = mmc_get_dev(curr_device);
+ mmc_dev = blk_get_devnum_by_type(IF_TYPE_MMC, curr_device);
if (mmc_dev != NULL && mmc_dev->type != DEV_TYPE_UNKNOWN) {
part_print(mmc_dev);
return CMD_RET_SUCCESS;