[PATCH 08/10] mvebu: Use dev_pm_opp_set_sharing_cpus() to mark OPP tables as shared
Stephen Boyd
sboyd at codeaurora.org
Fri Apr 22 15:24:47 PDT 2016
On 04/21, Viresh Kumar wrote:
> @@ -683,10 +678,15 @@ static int __init armada_xp_pmsu_cpufreq_init(void)
> clk_put(clk);
> return ret;
> }
> +
> + ret = dev_pm_opp_set_sharing_cpus(cpu_dev,
> + (struct cpumask *) cpumask_of(cpu_dev->id));
This cast doesn't look good. Why are we casting away const?
Shouldn't dev_pm_opp_set_sharing_cpus() take a const mask anyway?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list