mmc: Convert mmc struct's name array to a pointer
[platform/kernel/u-boot.git] / drivers / mmc / gen_atmel_mci.c
index 456f8bf..ce799f3 100644 (file)
@@ -364,7 +364,7 @@ int atmel_mci_init(void *regs)
        if (!mmc)
                return -1;
 
-       strcpy(mmc->name, "mci");
+       mmc->name = "mci";
        mmc->priv = regs;
        mmc->ops = &atmel_mci_ops;