diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-05-11 03:51:20 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-16 19:25:46 -0400 |
commit | 60d1ea4e0aaeedb89c4336eb4d1359bee2cb33aa (patch) | |
tree | 8b57e842ed714208184ff3ca21a7f81c440d7abd | |
parent | 4920ab84979d8cd2eb7e3c4fefcc924efabf1cb2 (diff) |
cpufreq: powernv: make local function static
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>
-rw-r--r-- | drivers/cpufreq/powernv-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/powernv-cpufreq.c b/drivers/cpufreq/powernv-cpufreq.c index af4968813e76..bb1d08dc8cc8 100644 --- a/drivers/cpufreq/powernv-cpufreq.c +++ b/drivers/cpufreq/powernv-cpufreq.c | |||
@@ -235,7 +235,7 @@ static void powernv_read_cpu_freq(void *arg) | |||
235 | * firmware for CPU 'cpu'. This value is reported through the sysfs | 235 | * firmware for CPU 'cpu'. This value is reported through the sysfs |
236 | * file cpuinfo_cur_freq. | 236 | * file cpuinfo_cur_freq. |
237 | */ | 237 | */ |
238 | unsigned int powernv_cpufreq_get(unsigned int cpu) | 238 | static unsigned int powernv_cpufreq_get(unsigned int cpu) |
239 | { | 239 | { |
240 | struct powernv_smp_call_data freq_data; | 240 | struct powernv_smp_call_data freq_data; |
241 | 241 | ||