]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/pxa_mmc_gen.c
mmc: Convert mmc struct's name array to a pointer
[karo-tx-uboot.git] / drivers / mmc / pxa_mmc_gen.c
index 4694c8f42d265b23c5822e972cb3355cfa3ea47e..188e1d4c6b0163a84e8f50f5f278cc517318ce55 100644 (file)
@@ -402,7 +402,7 @@ int pxa_mmc_register(int card_index)
 
        mmc->priv = priv;
 
-       sprintf(mmc->name, "PXA MMC");
+       mmc->name = "PXA MMC";
        mmc->ops = &pxa_mmc_ops;
 
        mmc->voltages   = MMC_VDD_32_33 | MMC_VDD_33_34;