mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
e52e334e5c
commit
cacd1d2f33
@ -235,7 +235,7 @@ struct sdhci_ops {
|
||||
};
|
||||
|
||||
struct sdhci_host {
|
||||
char *name;
|
||||
const char *name;
|
||||
void *ioaddr;
|
||||
unsigned int quirks;
|
||||
unsigned int host_caps;
|
||||
|
Reference in New Issue
Block a user