summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/pwrseq.h
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-14 20:05:20 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-12-22 13:32:07 +0300
commitffedbd2210f2f4cba490a9205adc11fd1b89a852 (patch)
tree931449a6e06e68b9642d63e16502ab90b0222a18 /drivers/mmc/core/pwrseq.h
parentb5a84ecf025add96b11f778a5a9d455ab5fddff2 (diff)
downloadlinux-ffedbd2210f2f4cba490a9205adc11fd1b89a852.tar.xz
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.h')
-rw-r--r--drivers/mmc/core/pwrseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/pwrseq.h b/drivers/mmc/core/pwrseq.h
index 096da48c6a7e..133de0426687 100644
--- a/drivers/mmc/core/pwrseq.h
+++ b/drivers/mmc/core/pwrseq.h
@@ -16,7 +16,7 @@ struct mmc_pwrseq_ops {
};
struct mmc_pwrseq {
- struct mmc_pwrseq_ops *ops;
+ const struct mmc_pwrseq_ops *ops;
};
#ifdef CONFIG_OF