summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-22 11:59:31 (GMT)
committerTom Rini <trini@konsulko.com>2016-04-25 19:10:42 (GMT)
commitcacd1d2f33da2d78e8568f2e48539a4a57de20ae (patch)
treeb12a2cae4611422b07152eee43c61f1c0ab0f668 /include
parente52e334e5cb493e19377d23a00aa4d021fc229ba (diff)
downloadu-boot-fsl-qoriq-cacd1d2f33da2d78e8568f2e48539a4a57de20ae.tar.xz
mmc: sdhci: add const qualifier to the name of struct sdhci_host
This allows to drop annoying (char *) casts when setting the host name of struct sdhci_host. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include')
-rw-r--r--include/sdhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 23893b5..e0f6667 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -235,7 +235,7 @@ struct sdhci_ops {
};
struct sdhci_host {
- char *name;
+ const char *name;
void *ioaddr;
unsigned int quirks;
unsigned int host_caps;