summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:15 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f (patch)
treed2b388a60f961ec40b4ba25ddfef6503fe679c21 /cmd
parent74001a2570ccbc120366e66dd40e8c66e3a6820c (diff)
downloadtalos-obmc-uboot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.gz
talos-obmc-uboot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.zip
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')
-rw-r--r--cmd/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mmc.c b/cmd/mmc.c
index c5454bf2e1..4f251870ee 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;
OpenPOWER on IntegriCloud