]> 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)
commita6aee4d79dbbffc31a1c6b02ded0228591640e27
tree931449a6e06e68b9642d63e16502ab90b0222a18
parent8b39de733d02591f84ff4c817873325ec0db0a4d
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