From ea6ebe21772568ee97fb5c23c01e993140f0e0e6 Mon Sep 17 00:00:00 2001 From: Lei Wen Date: Mon, 2 May 2011 16:26:25 +0000 Subject: cmd_mmc: eliminate device num in the mmc command mmc command applied device, like ide and usb... Signed-off-by: Lei Wen Acked-by: Andy Fleming --- drivers/mmc/mmc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mmc') diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index f6d31f5848..cdf2713bad 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1110,6 +1110,11 @@ void print_mmc_devices(char separator) printf("\n"); } +int get_mmc_num(void) +{ + return cur_dev_num; +} + int mmc_initialize(bd_t *bis) { INIT_LIST_HEAD (&mmc_devices); -- cgit