diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-08-07 11:50:43 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:53 +0200 |
| commit | a81dae3ac1f7cdd081dd7e50b72aca64ece96afd (patch) | |
| tree | f54119cddeaa8dabcb29aaf84f2b361a52bb700c /tools/perf/scripts/python | |
| parent | mmc: sdhci-sirf: constify sdhci_pltfm_data and sdhci_ops structures (diff) | |
| download | linux-a81dae3ac1f7cdd081dd7e50b72aca64ece96afd.tar.gz linux-a81dae3ac1f7cdd081dd7e50b72aca64ece96afd.zip | |
mmc: sdhci-of-arasan: 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>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
