diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-04-22 20:59:31 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-25 15:10:42 -0400 |
commit | cacd1d2f33da2d78e8568f2e48539a4a57de20ae (patch) | |
tree | b12a2cae4611422b07152eee43c61f1c0ab0f668 /include/sdhci.h | |
parent | e52e334e5cb493e19377d23a00aa4d021fc229ba (diff) | |
download | u-boot-imx-cacd1d2f33da2d78e8568f2e48539a4a57de20ae.zip u-boot-imx-cacd1d2f33da2d78e8568f2e48539a4a57de20ae.tar.gz u-boot-imx-cacd1d2f33da2d78e8568f2e48539a4a57de20ae.tar.bz2 |
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/sdhci.h')
-rw-r--r-- | include/sdhci.h | 2 |
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; |