cpufreq: powernv: make local function static
authorBrian Norris <computersforpeace@gmail.com>
Sun, 11 May 2014 07:51:20 +0000 (00:51 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 May 2014 23:25:46 +0000 (01:25 +0200)
powernv_cpufreq_get() is only referenced in this file.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org> on V2.
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernv-cpufreq.c

index af4968813e76b433acbbda0d3e6f4f28d6476e43..bb1d08dc8cc8af4dd16a4be5ca7805399786c6f5 100644 (file)
@@ -235,7 +235,7 @@ static void powernv_read_cpu_freq(void *arg)
  * firmware for CPU 'cpu'. This value is reported through the sysfs
  * file cpuinfo_cur_freq.
  */
-unsigned int powernv_cpufreq_get(unsigned int cpu)
+static unsigned int powernv_cpufreq_get(unsigned int cpu)
 {
        struct powernv_smp_call_data freq_data;