]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/mxcmmc.c
mmc: Convert mmc struct's name array to a pointer
[karo-tx-uboot.git] / drivers / mmc / mxcmmc.c
index f3e1eed737eb3647641e32477ed99a55a55c1cd6..335755998180b8fb2f052b33fcb141174c056a02 100644 (file)
@@ -500,7 +500,7 @@ static int mxcmci_initialize(bd_t *bis)
        if (!mmc)
                return -ENOMEM;
 
-       sprintf(mmc->name, "MXC MCI");
+       mmc->name = "MXC MCI";
        mmc->ops = &mxcmci_ops;
        mmc->host_caps = MMC_MODE_4BIT;