mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
e52e334e5c
commit
cacd1d2f33
4 changed files with 4 additions and 4 deletions
|
@ -235,7 +235,7 @@ struct sdhci_ops {
|
|||
};
|
||||
|
||||
struct sdhci_host {
|
||||
char *name;
|
||||
const char *name;
|
||||
void *ioaddr;
|
||||
unsigned int quirks;
|
||||
unsigned int host_caps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue