cpufreq: staticize cpufreq_cpu_get_raw()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Sep 2015 06:45:21 +0000 (12:15 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Sep 2015 19:47:42 +0000 (21:47 +0200)
cpufreq_cpu_get_raw() isn't used by any external users, staticize it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c

index abb776827bb1fd5682984330c443c3ba9d8e124e..feb6dc51efa7e6dee718b20c38685cabf889ddd7 100644 (file)
@@ -239,7 +239,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy,
 EXPORT_SYMBOL_GPL(cpufreq_generic_init);
 
 /* Only for cpufreq core internal use */
-struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
+static struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
 {
        struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);