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:
a88f9e2
)
cpufreq: Add EXPORT_SYMBOL_GPL for have_governor_per_policy
author
Viresh Kumar
<viresh.kumar@linaro.org>
Mon, 13 May 2013 11:01:04 +0000
(16:31 +0530)
committer
Jon Medhurst
<tixy@linaro.org>
Wed, 17 Jul 2013 16:21:52 +0000
(17:21 +0100)
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>
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)
{