From: Brian Norris Date: Sun, 11 May 2014 07:51:20 +0000 (-0700) Subject: cpufreq: powernv: make local function static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=60d1ea4e0aaeedb89c4336eb4d1359bee2cb33aa;p=linux-beck.git cpufreq: powernv: make local function static powernv_cpufreq_get() is only referenced in this file. Signed-off-by: Brian Norris Reviewed-by: Srivatsa S. Bhat Acked-by: Viresh Kumar on V2. Reviewed-by: Gautham R. Shenoy Signed-off-by: Rafael J. Wysocki --- 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;