commit | a4405617414c65e943a878b3d482166e54745557 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Apr 22 20:59:31 2016 +0900 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 25 15:10:42 2016 -0400 |
tree | b12a2cae4611422b07152eee43c61f1c0ab0f668 | |
parent | 59b92af4e6accf1bb92bf5a6aaf0fa3d22c50987 [diff] [blame] |
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>
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_host { - char *name; + const char *name; void *ioaddr; unsigned int quirks; unsigned int host_caps;