cpufreq: powernv: make local function static
authorBrian Norris <[email protected]>
Sun, 11 May 2014 07:51:20 +0000 (00:51 -0700)
committerRafael J. Wysocki <[email protected]>
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 <[email protected]>
Reviewed-by: Srivatsa S. Bhat <[email protected]>
Acked-by: Viresh Kumar <[email protected]> on V2.
Reviewed-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
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;