projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d69030
)
cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 16 May 2013 05:09:56 +0000
(
05:09
+0000)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 27 May 2013 11:20:55 +0000
(13:20 +0200)
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>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index 2d53f47d1747360b8968c7c308c0f975777ef9ab..2f254691ed1f1f5e12020b9cd085e6d9eca2cf76 100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-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)
{