summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/vexpress-spc-cpufreq.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-10-19 12:59:15 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-08 23:22:20 +0100
commit0011c6da99ddc428a35456d5819d6e476005f6f2 (patch)
tree227b245544dfb84afece78fab33ba080302befb9 /drivers/cpufreq/vexpress-spc-cpufreq.c
parentcpufreq: arm_big_little: make function arguments and structure pointer const (diff)
downloadlinux-0011c6da99ddc428a35456d5819d6e476005f6f2.tar.xz
linux-0011c6da99ddc428a35456d5819d6e476005f6f2.zip
cpufreq: arm_big_little: make cpufreq_arm_bL_ops structures const
Make these const as they are only getting passed to the functions bL_cpufreq_{register/unregister} having the arguments as const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/vexpress-spc-cpufreq.c')
-rw-r--r--drivers/cpufreq/vexpress-spc-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c
index 87e5bdc5ec74..53237289e606 100644
--- a/drivers/cpufreq/vexpress-spc-cpufreq.c
+++ b/drivers/cpufreq/vexpress-spc-cpufreq.c
@@ -42,7 +42,7 @@ static int ve_spc_get_transition_latency(struct device *cpu_dev)
return 1000000; /* 1 ms */
}
-static struct cpufreq_arm_bL_ops ve_spc_cpufreq_ops = {
+static const struct cpufreq_arm_bL_ops ve_spc_cpufreq_ops = {
.name = "vexpress-spc",
.get_transition_latency = ve_spc_get_transition_latency,
.init_opp_table = ve_spc_init_opp_table,