aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-09 03:14:51 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 16:24:24 -0400
commit0e25246fb3d7455dc3405435da70156370e285ec (patch)
tree923ab08cf04978ad02d4be79b92a21ace459dc49
parent21b4c415e43717b3dbc17ebef66ee2054f8f2e21 (diff)
cpufreq: unicore2: Staticize local symbol
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>
-rw-r--r--drivers/cpufreq/unicore2-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/unicore2-cpufreq.c b/drivers/cpufreq/unicore2-cpufreq.c
index 12fc904d7dab..b225f04d8ae5 100644
--- a/drivers/cpufreq/unicore2-cpufreq.c
+++ b/drivers/cpufreq/unicore2-cpufreq.c
@@ -24,7 +24,7 @@ static struct cpufreq_driver ucv2_driver;
24/* make sure that only the "userspace" governor is run 24/* make sure that only the "userspace" governor is run
25 * -- anything else wouldn't make sense on this platform, anyway. 25 * -- anything else wouldn't make sense on this platform, anyway.
26 */ 26 */
27int ucv2_verify_speed(struct cpufreq_policy *policy) 27static int ucv2_verify_speed(struct cpufreq_policy *policy)
28{ 28{
29 if (policy->cpu) 29 if (policy->cpu)
30 return -EINVAL; 30 return -EINVAL;