mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
mmc: sdhci-brcmstb: constify sdhci_pltfm_data structures
The sdhci_pltfm_data structure is only passed as the second argument of sdhci_pltfm_init, which is const, so the sdhci_pltfm_data structure can be const as well. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
a81dae3ac1
commit
3671967641
@ -63,7 +63,7 @@ static const struct sdhci_ops sdhci_brcmstb_ops = {
|
||||
.set_uhs_signaling = sdhci_set_uhs_signaling,
|
||||
};
|
||||
|
||||
static struct sdhci_pltfm_data sdhci_brcmstb_pdata = {
|
||||
static const struct sdhci_pltfm_data sdhci_brcmstb_pdata = {
|
||||
.ops = &sdhci_brcmstb_ops,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user