diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-08-07 11:50:42 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:52 +0200 |
commit | 1201885b7a6123f8c5c716fd34b4ddd892bd32a8 (patch) | |
tree | 11706da094015c4c1465261ac187e85c5802919f /samples/statx | |
parent | b78f8a8c03405e508d95ab0442e88ec091926b96 (diff) | |
download | lwn-1201885b7a6123f8c5c716fd34b4ddd892bd32a8.tar.gz lwn-1201885b7a6123f8c5c716fd34b4ddd892bd32a8.zip |
mmc: sdhci-sirf: constify sdhci_pltfm_data and sdhci_ops structures
The sdhci_pltfm_data structure is only passed as the second argument
of sdhci_pltfm_init, which is const, while the sdhci_ops structure
is only stored in the ops field of a sdhci_pltfm_data structure,
which is also const. Thus both kinds of structures 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>
Diffstat (limited to 'samples/statx')
0 files changed, 0 insertions, 0 deletions