diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:15 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f (patch) | |
tree | d2b388a60f961ec40b4ba25ddfef6503fe679c21 /cmd/mmc.c | |
parent | 74001a2570ccbc120366e66dd40e8c66e3a6820c (diff) | |
download | u-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.gz u-boot-3c457f4d2e47cc91385abe15d3c825d0ce1a2b6f.tar.bz2 u-boot-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/mmc.c')
-rw-r--r-- | cmd/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |