diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-01-12 00:12:09 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:14 -0500 |
commit | f85178048c083520bd920921744dd2c4a797fbc5 (patch) | |
tree | bafe096a11c6671e5bbb5597492b32e22e7363df | |
parent | 6954ca9c8b5cbaf45c3e45a5a5a7450c6b55ab27 (diff) |
cpufreq: SPEAr: Fix sparse warning for cpufreq driver
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>
-rw-r--r-- | drivers/cpufreq/spear-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index 4575cfe41755..8ff26af622ea 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c | |||
@@ -30,7 +30,7 @@ static struct { | |||
30 | u32 cnt; | 30 | u32 cnt; |
31 | } spear_cpufreq; | 31 | } spear_cpufreq; |
32 | 32 | ||
33 | int spear_cpufreq_verify(struct cpufreq_policy *policy) | 33 | static int spear_cpufreq_verify(struct cpufreq_policy *policy) |
34 | { | 34 | { |
35 | return cpufreq_frequency_table_verify(policy, spear_cpufreq.freq_tbl); | 35 | return cpufreq_frequency_table_verify(policy, spear_cpufreq.freq_tbl); |
36 | } | 36 | } |