diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-10-19 12:59:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-11-08 23:22:20 +0100 |
commit | 0011c6da99ddc428a35456d5819d6e476005f6f2 (patch) | |
tree | 227b245544dfb84afece78fab33ba080302befb9 /drivers/cpufreq/arm_big_little_dt.c | |
parent | cd6ce860eb1920568361cf270fe4f89674cf411b (diff) | |
download | op-kernel-dev-0011c6da99ddc428a35456d5819d6e476005f6f2.zip op-kernel-dev-0011c6da99ddc428a35456d5819d6e476005f6f2.tar.gz |
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/arm_big_little_dt.c')
-rw-r--r-- | drivers/cpufreq/arm_big_little_dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c index 39b3f51..b944f29 100644 --- a/drivers/cpufreq/arm_big_little_dt.c +++ b/drivers/cpufreq/arm_big_little_dt.c @@ -61,7 +61,7 @@ static int dt_get_transition_latency(struct device *cpu_dev) return transition_latency; } -static struct cpufreq_arm_bL_ops dt_bL_ops = { +static const struct cpufreq_arm_bL_ops dt_bL_ops = { .name = "dt-bl", .get_transition_latency = dt_get_transition_latency, .init_opp_table = dev_pm_opp_of_cpumask_add_table, |