Re: [PATCH] cpufreq: pass policy to ->get() driver callback

From: Viresh Kumar
Date: Tue Sep 15 2015 - 03:39:31 EST


On 11-09-15, 21:48, Viresh Kumar wrote:
> > -/* Only for cpufreq core internal use */
> > struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
> > {
> > struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
> >
> > return policy && cpumask_test_cpu(cpu, policy->cpus) ? policy : NULL;
> > }
> > +EXPORT_SYMBOL_GPL(cpufreq_cpu_get_raw);

This routine was recently marked as static and now with your patch it
results in compilation error. You just need to remove the 'static'
part from the routine.

I would have sent a patch for this, but I thought you would like to
edit the original patch itself to not break git bisect.

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/