projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: Convert mmc struct's name array to a pointer
[platform/kernel/u-boot.git]
/
drivers
/
mmc
/
gen_atmel_mci.c
diff --git
a/drivers/mmc/gen_atmel_mci.c
b/drivers/mmc/gen_atmel_mci.c
index
456f8bf
..
ce799f3
100644
(file)
--- a/
drivers/mmc/gen_atmel_mci.c
+++ b/
drivers/mmc/gen_atmel_mci.c
@@
-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;