diff mbox

cpufreq: export cpufreq_driver_resolve_freq()

Message ID 1469154278-7373-1-git-send-email-smuckle@linaro.org (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Steve Muckle July 22, 2016, 2:24 a.m. UTC
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(+)

Comments

Viresh Kumar July 22, 2016, 3:30 a.m. UTC | #1
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>
Rafael J. Wysocki July 22, 2016, 12:05 p.m. UTC | #2
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

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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                          *