Skip to content

Commit

Permalink
cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy
Browse files Browse the repository at this point in the history
This patch adds: EXPORT_SYMBOL_GPL(have_governor_per_policy), so that
this routine can be used by modules too.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed May 27, 2013
1 parent 5d69030 commit 3f869d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ bool have_governor_per_policy(void)
{
return cpufreq_driver->have_governor_per_policy;
}
EXPORT_SYMBOL_GPL(have_governor_per_policy);

static struct cpufreq_policy *__cpufreq_cpu_get(unsigned int cpu, bool sysfs)
{
Expand Down

0 comments on commit 3f869d6

Please sign in to comment.