lkml.org 
[lkml]   [2015]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] cpufreq: pass policy to ->get() driver callback
Date
On Tuesday, September 15, 2015 01:09:21 PM Viresh Kumar wrote:
> 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.

I even tried to do that previously, but I made a mistake then.

It should be fixed in my bleeding-edge branch now.

Thanks,
Rafael



\
 
 \ /
  Last update: 2015-09-16 03:21    [W:0.071 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site