cpufreq: powernv: make local function static
Subsystems (2)
PATCH 1/1 cpufreq: powernv: make local function static
powernv_cpufreq_get() is only referenced in this file.
--- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/powernv-cpufreq.c +1 -1
@@ -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;
Signature · 1 line
1.9.1
Quoted 7 lines · Brian Norris
powernv_cpufreq_get()is only referenced in this file.Signed-off-by Brian Norris <[email protected]>Cc Viresh Kumar <[email protected]>Cc Rafael J. Wysocki <[email protected]>
Regards,
Srivatsa S. Bhat
Quoted 17 lines
--- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/cpufreq/powernv-cpufreq.c +1
-1@@ -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;
Gautham R Shenoy
Reviewed-byQuoted 10 lines · Srivatsa S. Bhat
Quoted 7 lines · Brian Norris
powernv_cpufreq_get()is only referenced in this file.Signed-off-by Brian Norris <[email protected]>Cc Viresh Kumar <[email protected]>Cc Rafael J. Wysocki <[email protected]>Reviewed-by Srivatsa S. Bhat <[email protected]>
Thanks for this fix Brian.
--
Thanks and Regards
gautham.
Quoted 21 lines
Regards,
Srivatsa S. BhatQuoted 17 lines
--- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/cpufreq/powernv-cpufreq.c +1
-1@@ -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;
Rafael J. Wysocki
AppliedQuoted 10 lines · Gautham R Shenoy
Quoted 9 lines · Srivatsa S. Bhat
Quoted 7 lines · Brian Norris
powernv_cpufreq_get()is only referenced in this file.Signed-off-by Brian Norris <[email protected]>Cc Viresh Kumar <[email protected]>Cc Rafael J. Wysocki <[email protected]>
Quoted 5 lines
Quoted 1 line
Reviewed-by Srivatsa S. Bhat <[email protected]>Thanks for this fix Brian.
Reviewed-by Gautham R. Shenoy <[email protected]>
Queued up for 3.16, thanks!
Quoted 31 lines
--
Thanks and Regards
gautham.Quoted 8 lines
Regards,
Srivatsa S. BhatQuoted 4 lines
--- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 13 lines
drivers/cpufreq/powernv-cpufreq.c static void powernv_read_cpu_freq(void *arg) · line 241
Quoted 13 lines
drivers/cpufreq/powernv-cpufreq.c +1
-1@@ -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;--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Quoted 16 lines · Brian Norris
powernv_cpufreq_get()is only referenced in this file.Signed-off-by Brian Norris <[email protected]>Cc Viresh Kumar <[email protected]>Cc Rafael J. Wysocki <[email protected]>--- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/cpufreq/powernv-cpufreq.c +0
-0
drivers/cpufreq/powernv-cpufreq.c static void powernv_read_cpu_freq(void *arg) · line 238
Quoted 5 lines
drivers/cpufreq/powernv-cpufreq.c +1
-1@@ -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)
Please make this as static as well: cpufreq_freq_attr_cpuinfo_nominal_freq
and add my