aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2014-05-11 00:51:20 -0700
committerRafael J. Wysocki <[email protected]>2014-05-17 01:25:46 +0200
commit60d1ea4e0aaeedb89c4336eb4d1359bee2cb33aa (patch)
tree8b57e842ed714208184ff3ca21a7f81c440d7abd
parent4920ab84979d8cd2eb7e3c4fefcc924efabf1cb2 (diff)
cpufreq: powernv: make local function static
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]>
-rw-r--r--drivers/cpufreq/powernv-cpufreq.c2
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)
* 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;