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
/
sdhci.c
diff --git
a/drivers/mmc/sdhci.c
b/drivers/mmc/sdhci.c
index
c3425a6
..
dc6f4e4
100644
(file)
--- a/
drivers/mmc/sdhci.c
+++ b/
drivers/mmc/sdhci.c
@@
-451,7
+451,7
@@
int add_sdhci(struct sdhci_host *host, u32 max_clk, u32 min_clk)
mmc->priv = host;
host->mmc = mmc;
-
sprintf(mmc->name, "%s", host->name)
;
+
mmc->name = host->name
;
mmc->ops = &sdhci_ops;
caps = sdhci_readl(host, SDHCI_CAPABILITIES);