diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-06-10 15:41:37 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2009-06-15 11:49:42 -0400 |
commit | b394f1dfc070e6f50f5f33694000815e50ef319d (patch) | |
tree | 58fc3f0e502752259181271bafb2b997b1284040 /arch/x86 | |
parent | 931db6a32dbfaad627e89d0524979ce9cb894691 (diff) |
[CPUFREQ] reduce scope of ACPI_PSS_BIOS_BUG_MSG[]
This symbol doesn't need file-global scope.
Cc: "Zhang, Rui" <rui.zhang@intel.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Langsdorf, Mark <mark.langsdorf@amd.com>
Cc: Leo Milano <lmilano@gmx.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index a9d7ecbf64b7..2709b3c183b4 100644 --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c | |||
@@ -1250,13 +1250,12 @@ static int powernowk8_verify(struct cpufreq_policy *pol) | |||
1250 | return cpufreq_frequency_table_verify(pol, data->powernow_table); | 1250 | return cpufreq_frequency_table_verify(pol, data->powernow_table); |
1251 | } | 1251 | } |
1252 | 1252 | ||
1253 | static const char ACPI_PSS_BIOS_BUG_MSG[] = | ||
1254 | KERN_ERR FW_BUG PFX "No compatible ACPI _PSS objects found.\n" | ||
1255 | KERN_ERR FW_BUG PFX "Try again with latest BIOS.\n"; | ||
1256 | |||
1257 | /* per CPU init entry point to the driver */ | 1253 | /* per CPU init entry point to the driver */ |
1258 | static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol) | 1254 | static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol) |
1259 | { | 1255 | { |
1256 | static const char ACPI_PSS_BIOS_BUG_MSG[] = | ||
1257 | KERN_ERR FW_BUG PFX "No compatible ACPI _PSS objects found.\n" | ||
1258 | KERN_ERR FW_BUG PFX "Try again with latest BIOS.\n"; | ||
1260 | struct powernow_k8_data *data; | 1259 | struct powernow_k8_data *data; |
1261 | cpumask_t oldmask; | 1260 | cpumask_t oldmask; |
1262 | int rc; | 1261 | int rc; |