summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-09 19:53:08 +0200
committerDave Jones <davej@redhat.com>2006-07-31 18:37:05 -0400
commitc4a96c1eba206bd4a58a0f2acf2450126bd2b5da (patch)
treee3917c209c94747ab06f5b4d4b52d5b9537474ef /arch
parent95a53249db330a3f08090611fdb5fe168a73e650 (diff)
downloadop-kernel-dev-c4a96c1eba206bd4a58a0f2acf2450126bd2b5da.zip
op-kernel-dev-c4a96c1eba206bd4a58a0f2acf2450126bd2b5da.tar.gz
[CPUFREQ] Make longhaul_walk_callback() static
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/longhaul.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index 7388fc3..3cfa074 100644
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -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;
OpenPOWER on IntegriCloud