mmc: sdhci: constify sdhci_pltfm_data structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 7 Aug 2017 09:50:40 +0000 (11:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:51 +0000 (14:01 +0200)
commitd35ade8ff7e21d2a8ac57a994cf2cef3b599e9e3
tree8631abcead0b1e3ec7d502d7625c11fa6623b3f3
parent6ca2920d8eb7bfd6d4e1bec00eca96954319cad9
mmc: sdhci: 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>
drivers/mmc/host/sdhci-pic32.c
drivers/mmc/host/sdhci-pxav3.c