]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
cpufreq: unicore2: Staticize local symbol
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Aug 2013 07:14:51 +0000 (16:14 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 20:24:24 +0000 (22:24 +0200)
This local symbol is used only in this file.
Fix the following sparse warnings:

drivers/cpufreq/unicore2-cpufreq.c:27:5: warning: symbol 'ucv2_verify_speed' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/unicore2-cpufreq.c

index 12fc904d7dabea615955f1f8449b4bc670849ed7..b225f04d8ae5c55bcfee26f644812d3d1100cc04 100644 (file)
@@ -24,7 +24,7 @@ static struct cpufreq_driver ucv2_driver;
 /* make sure that only the "userspace" governor is run
  * -- anything else wouldn't make sense on this platform, anyway.
  */
-int ucv2_verify_speed(struct cpufreq_policy *policy)
+static int ucv2_verify_speed(struct cpufreq_policy *policy)
 {
        if (policy->cpu)
                return -EINVAL;