summaryrefslogtreecommitdiffstats
path: root/cmd/mmc_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mmc_spi.c')
-rw-r--r--cmd/mmc_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mmc_spi.c b/cmd/mmc_spi.c
index a2138b8650..0c44d06817 100644
--- a/cmd/mmc_spi.c
+++ b/cmd/mmc_spi.c
@@ -72,8 +72,8 @@ static int do_mmc_spi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("Failed to create MMC Device\n");
return 1;
}
- printf("%s: %d at %u:%u hz %u mode %u\n", mmc->cfg->name, mmc->block_dev.dev,
- bus, cs, speed, mode);
+ printf("%s: %d at %u:%u hz %u mode %u\n", mmc->cfg->name,
+ mmc->block_dev.devnum, bus, cs, speed, mode);
mmc_init(mmc);
return 0;
OpenPOWER on IntegriCloud