Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448306 > unrolled thread

[PATCH] cpufreq: export cpufreq_driver_resolve_freq()

Started bySteve Muckle <steve.muckle@linaro.org>
First post2016-07-22 04:30 +0200
Last post2016-07-22 14:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: export cpufreq_driver_resolve_freq() Steve Muckle <steve.muckle@linaro.org> - 2016-07-22 04:30 +0200
    Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq() Viresh Kumar <viresh.kumar@linaro.org> - 2016-07-22 05:40 +0200
      Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq() "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-22 14:10 +0200

#1448306 — [PATCH] cpufreq: export cpufreq_driver_resolve_freq()

FromSteve Muckle <steve.muckle@linaro.org>
Date2016-07-22 04:30 +0200
Subject[PATCH] cpufreq: export cpufreq_driver_resolve_freq()
Message-ID<rXynT-7XR-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1448352

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-07-22 05:40 +0200
Message-ID<rXztE-dP-21@gated-at.bofh.it>
In reply to#1448306
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

[toc] | [prev] | [next] | [standalone]


#1448549

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-07-22 14:10 +0200
Message-ID<rXHrc-5Fd-19@gated-at.bofh.it>
In reply to#1448352
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web