cpufreq: SPEAr: Fix sparse warning for cpufreq driver
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 12 Jan 2013 05:12:09 +0000 (05:12 +0000)
committerRafael 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

index 4575cfe41755c1e5b52b2f890a4a1d4c15806612..8ff26af622ea93e85c34d3fbdcda0f2a2bd5def2 100644 (file)
@@ -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);
 }