projects
/
oweals
/
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
[oweals/u-boot.git]
/
drivers
/
mmc
/
mxsmmc.c
diff --git
a/drivers/mmc/mxsmmc.c
b/drivers/mmc/mxsmmc.c
index 97c9ee8fb6e4669bbc7494ecbaca7bd5dd08f4cc..3512a99de9f55392f51a6a78f4946c6950a65d70 100644
(file)
--- a/
drivers/mmc/mxsmmc.c
+++ b/
drivers/mmc/mxsmmc.c
@@
-405,7
+405,7
@@
int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int))
priv->id = id;
priv->regs = mxs_ssp_regs_by_bus(id);
-
sprintf(mmc->name, "MXS MMC")
;
+
mmc->name = "MXS MMC"
;
mmc->ops = &mxsmmc_ops;
mmc->priv = priv;