diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-09-25 14:23:32 -0400 |
---|---|---|
committer | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-09-26 23:02:45 -0400 |
commit | 0497c8ca282915a1c36d51db33fbf2629d7346f3 (patch) | |
tree | 3b0908351be488ed0091a35c1f0fe43d1d20a48a | |
parent | 0e37b159aa7427bf311487e3ea03d8aa5ff5956e (diff) |
[CPUFREQ] Fix section mismatch warning
Make the sections proper and get rid of section mismatch warnings.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 4 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c index ea19d091fd41..a3fddc8d651d 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -396,13 +396,13 @@ static int acpi_cpufreq_early_init_acpi(void) | |||
396 | */ | 396 | */ |
397 | static int bios_with_sw_any_bug; | 397 | static int bios_with_sw_any_bug; |
398 | 398 | ||
399 | static int __init sw_any_bug_found(struct dmi_system_id *d) | 399 | static int sw_any_bug_found(struct dmi_system_id *d) |
400 | { | 400 | { |
401 | bios_with_sw_any_bug = 1; | 401 | bios_with_sw_any_bug = 1; |
402 | return 0; | 402 | return 0; |
403 | } | 403 | } |
404 | 404 | ||
405 | static struct dmi_system_id __initdata sw_any_bug_dmi_table[] = { | 405 | static struct dmi_system_id sw_any_bug_dmi_table[] = { |
406 | { | 406 | { |
407 | .callback = sw_any_bug_found, | 407 | .callback = sw_any_bug_found, |
408 | .ident = "Supermicro Server X6DLP", | 408 | .ident = "Supermicro Server X6DLP", |
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c index 7a9325349e94..e8993baf3d14 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | |||
@@ -386,7 +386,7 @@ static int centrino_cpu_early_init_acpi(void) | |||
386 | * than OS intended it to run at. Detect it and handle it cleanly. | 386 | * than OS intended it to run at. Detect it and handle it cleanly. |
387 | */ | 387 | */ |
388 | static int bios_with_sw_any_bug; | 388 | static int bios_with_sw_any_bug; |
389 | static int __init sw_any_bug_found(struct dmi_system_id *d) | 389 | static int sw_any_bug_found(struct dmi_system_id *d) |
390 | { | 390 | { |
391 | bios_with_sw_any_bug = 1; | 391 | bios_with_sw_any_bug = 1; |
392 | return 0; | 392 | return 0; |