From cacd1d2f33da2d78e8568f2e48539a4a57de20ae Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 22 Apr 2016 20:59:31 +0900 Subject: 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 --- include/sdhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sdhci.h') 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; -- cgit v1.1