]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mmc_spi.c
dm: Adjust lists_bind_fdt() to return the bound device
[karo-tx-uboot.git] / common / cmd_mmc_spi.c
index 98cd788c76d6136dc0e3ab175a89b763a0ba885a..a2138b8650e90cc68a1c2dde5b808fe9caa7dc47 100644 (file)
@@ -72,7 +72,7 @@ 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->name, mmc->block_dev.dev,
+       printf("%s: %d at %u:%u hz %u mode %u\n", mmc->cfg->name, mmc->block_dev.dev,
               bus, cs, speed, mode);
        mmc_init(mmc);
        return 0;