]> err.no Git - linux-2.6/commitdiff
[CPUFREQ] Make longhaul_walk_callback() static
authorAdrian Bunk <bunk@stusta.de>
Sun, 9 Jul 2006 17:53:08 +0000 (19:53 +0200)
committerDave Jones <davej@redhat.com>
Mon, 31 Jul 2006 22:37:05 +0000 (18:37 -0400)
This patch makes the needlessly global longhaul_walk_callback() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c

index 7388fc3239d8c87b114c95a4d65375185a4dcfb0..3cfa0741863e330d3327e69dc0bfd7693ab6944c 100644 (file)
@@ -524,9 +524,9 @@ static unsigned int longhaul_get(unsigned int cpu)
        return calc_speed(longhaul_get_cpu_mult());
 }
 
-acpi_status longhaul_walk_callback(acpi_handle obj_handle,
-                                 u32 nesting_level,
-                                 void *context, void **return_value)
+static acpi_status longhaul_walk_callback(acpi_handle obj_handle,
+                                         u32 nesting_level,
+                                         void *context, void **return_value)
 {
        struct acpi_device *d;