]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: pwrseq: constify mmc_pwrseq_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 14 Nov 2015 17:05:20 +0000 (18:05 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 22 Dec 2015 10:32:07 +0000 (11:32 +0100)
commit58aadf0554da9634ccb542f9a0d8a2841cd39f3b
tree931449a6e06e68b9642d63e16502ab90b0222a18
parentbb7e06da34c47b9aaeb6816ab4fa28d3eb0f0a69
mmc: pwrseq: constify mmc_pwrseq_ops structures

The mmc_pwrseq_ops structures are never modified, so declare them as const.

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/core/pwrseq.h
drivers/mmc/core/pwrseq_emmc.c
drivers/mmc/core/pwrseq_simple.c