diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-01-12 09:12:09 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-02 03:01:14 +0400 |
commit | f85178048c083520bd920921744dd2c4a797fbc5 (patch) | |
tree | bafe096a11c6671e5bbb5597492b32e22e7363df | |
parent | 6954ca9c8b5cbaf45c3e45a5a5a7450c6b55ab27 (diff) | |
download | linux-f85178048c083520bd920921744dd2c4a797fbc5.tar.xz |
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 { 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); } |