diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-14 18:05:20 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-12-22 11:32:07 +0100 |
commit | ffedbd2210f2f4cba490a9205adc11fd1b89a852 (patch) | |
tree | 931449a6e06e68b9642d63e16502ab90b0222a18 /drivers/mmc/core/pwrseq_emmc.c | |
parent | b5a84ecf025add96b11f778a5a9d455ab5fddff2 (diff) | |
download | op-kernel-dev-ffedbd2210f2f4cba490a9205adc11fd1b89a852.zip op-kernel-dev-ffedbd2210f2f4cba490a9205adc11fd1b89a852.tar.gz |
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>
Diffstat (limited to 'drivers/mmc/core/pwrseq_emmc.c')
-rw-r--r-- | drivers/mmc/core/pwrseq_emmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/pwrseq_emmc.c b/drivers/mmc/core/pwrseq_emmc.c index ad4f94e..4a82bc7 100644 --- a/drivers/mmc/core/pwrseq_emmc.c +++ b/drivers/mmc/core/pwrseq_emmc.c @@ -51,7 +51,7 @@ static void mmc_pwrseq_emmc_free(struct mmc_host *host) kfree(pwrseq); } -static struct mmc_pwrseq_ops mmc_pwrseq_emmc_ops = { +static const struct mmc_pwrseq_ops mmc_pwrseq_emmc_ops = { .post_power_on = mmc_pwrseq_emmc_reset, .free = mmc_pwrseq_emmc_free, }; |