* [PATCH] cpufreq: export cpufreq_driver_resolve_freq()
@ 2016-07-22 2:24 Steve Muckle
2016-07-22 3:30 ` Viresh Kumar
0 siblings, 1 reply; 3+ messages in thread
From: Steve Muckle @ 2016-07-22 2:24 UTC (permalink / raw)
To: Rafael J . Wysocki, Viresh Kumar
Cc: linux-kernel, linux-pm, Stephen Rothwell, Steve Muckle
Export cpufreq_driver_resolve_freq() since governors may be compiled as
modules.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steve Muckle <smuckle@linaro.org>
---
drivers/cpufreq/cpufreq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index b696baeb249d..fa0a92d6121e 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -514,6 +514,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
CPUFREQ_RELATION_L);
return policy->freq_table[policy->cached_resolved_idx].frequency;
}
+EXPORT_SYMBOL_GPL(cpufreq_driver_resolve_freq);
/*********************************************************************
* SYSFS INTERFACE *
--
2.7.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq()
2016-07-22 2:24 [PATCH] cpufreq: export cpufreq_driver_resolve_freq() Steve Muckle
@ 2016-07-22 3:30 ` Viresh Kumar
2016-07-22 12:05 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2016-07-22 3:30 UTC (permalink / raw)
To: Steve Muckle
Cc: Rafael J . Wysocki, linux-kernel, linux-pm, Stephen Rothwell,
Steve Muckle
On 21-07-16, 19:24, Steve Muckle wrote:
> Export cpufreq_driver_resolve_freq() since governors may be compiled as
> modules.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Steve Muckle <smuckle@linaro.org>
> ---
> drivers/cpufreq/cpufreq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> index b696baeb249d..fa0a92d6121e 100644
> --- a/drivers/cpufreq/cpufreq.c
> +++ b/drivers/cpufreq/cpufreq.c
> @@ -514,6 +514,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
> CPUFREQ_RELATION_L);
> return policy->freq_table[policy->cached_resolved_idx].frequency;
> }
> +EXPORT_SYMBOL_GPL(cpufreq_driver_resolve_freq);
>
> /*********************************************************************
> * SYSFS INTERFACE *
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq()
2016-07-22 3:30 ` Viresh Kumar
@ 2016-07-22 12:05 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2016-07-22 12:05 UTC (permalink / raw)
To: Viresh Kumar, Steve Muckle
Cc: Rafael J . Wysocki, linux-kernel, linux-pm, Stephen Rothwell,
Steve Muckle
On Thursday, July 21, 2016 08:30:44 PM Viresh Kumar wrote:
> On 21-07-16, 19:24, Steve Muckle wrote:
> > Export cpufreq_driver_resolve_freq() since governors may be compiled as
> > modules.
> >
> > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > Signed-off-by: Steve Muckle <smuckle@linaro.org>
> > ---
> > drivers/cpufreq/cpufreq.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> > index b696baeb249d..fa0a92d6121e 100644
> > --- a/drivers/cpufreq/cpufreq.c
> > +++ b/drivers/cpufreq/cpufreq.c
> > @@ -514,6 +514,7 @@ unsigned int cpufreq_driver_resolve_freq(struct cpufreq_policy *policy,
> > CPUFREQ_RELATION_L);
> > return policy->freq_table[policy->cached_resolved_idx].frequency;
> > }
> > +EXPORT_SYMBOL_GPL(cpufreq_driver_resolve_freq);
> >
> > /*********************************************************************
> > * SYSFS INTERFACE *
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Applied (after a bit of rebasing).
Thanks,
Rafael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-22 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 2:24 [PATCH] cpufreq: export cpufreq_driver_resolve_freq() Steve Muckle
2016-07-22 3:30 ` Viresh Kumar
2016-07-22 12:05 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox