projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5269e70
)
cpufreq: staticize cpufreq_cpu_get_raw()
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 3 Sep 2015 06:45:21 +0000
(12:15 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 7 Sep 2015 19:47:42 +0000
(21:47 +0200)
cpufreq_cpu_get_raw() isn't used by any external users, staticize it.
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 abb776827bb1fd5682984330c443c3ba9d8e124e..feb6dc51efa7e6dee718b20c38685cabf889ddd7 100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-239,7
+239,7
@@
int cpufreq_generic_init(struct cpufreq_policy *policy,
EXPORT_SYMBOL_GPL(cpufreq_generic_init);
/* Only for cpufreq core internal use */
-struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
+st
atic st
ruct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
{
struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);