summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/pwrseq.h
diff options
context:
space:
mode:
authorJulia Lawall2015-11-14 18:05:20 +0100
committerUlf Hansson2015-12-22 11:32:07 +0100
commitffedbd2210f2f4cba490a9205adc11fd1b89a852 (patch)
tree931449a6e06e68b9642d63e16502ab90b0222a18 /drivers/mmc/core/pwrseq.h
parentmmc: tegra: Add Tegra210 support (diff)
downloadkernel-qcow2-linux-ffedbd2210f2f4cba490a9205adc11fd1b89a852.tar.gz
kernel-qcow2-linux-ffedbd2210f2f4cba490a9205adc11fd1b89a852.tar.xz
kernel-qcow2-linux-ffedbd2210f2f4cba490a9205adc11fd1b89a852.zip
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