projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6954ca9
)
cpufreq: SPEAr: Fix sparse warning for cpufreq driver
author
Viresh Kumar
<viresh.kumar@linaro.org>
Sat, 12 Jan 2013 05:12:09 +0000
(
05:12
+0000)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 1 Feb 2013 23:01:14 +0000
(
00:01
+0100)
This patch fixes following sparse warning:
drivers/cpufreq/spear-cpufreq.c:33:5: warning: symbol 'spear_cpufreq_verify' was
not declared. Should it be static?
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/spear-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/spear-cpufreq.c
b/drivers/cpufreq/spear-cpufreq.c
index
4575cfe
..
8ff26af
100644
(file)
--- a/
drivers/cpufreq/spear-cpufreq.c
+++ b/
drivers/cpufreq/spear-cpufreq.c
@@
-30,7
+30,7
@@
static struct {
u32 cnt;
} spear_cpufreq;
-int spear_cpufreq_verify(struct cpufreq_policy *policy)
+
static
int spear_cpufreq_verify(struct cpufreq_policy *policy)
{
return cpufreq_frequency_table_verify(policy, spear_cpufreq.freq_tbl);
}