aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_intel.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-23 14:49:52 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-26 02:49:19 -0500
commit4db646b1af8fdcf01d690d29eeae44cd937edb0d (patch)
treec58bc915b2faebad95f0e1cfdc735387e1498ce2 /arch/x86/kernel/microcode_intel.c
parente951e4af2e399c46891004d4931333d2d8d520ab (diff)
x86: microcode: fix sparse warnings
Impact: make global variables and a function static Fix following sparse warnings: arch/x86/kernel/microcode_core.c:102:22: warning: symbol 'microcode_ops' was not declared. Should it be static? arch/x86/kernel/microcode_core.c:206:24: warning: symbol 'microcode_pdev' was not declared. Should it be static? arch/x86/kernel/microcode_core.c:322:6: warning: symbol 'microcode_update_cpu' was not declared. Should it be static? arch/x86/kernel/microcode_intel.c:468:22: warning: symbol 'microcode_intel_ops' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/microcode_intel.c')
-rw-r--r--arch/x86/kernel/microcode_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_intel.c b/arch/x86/kernel/microcode_intel.c
index 622dc4a21784..c34c820ee486 100644
--- a/arch/x86/kernel/microcode_intel.c
+++ b/arch/x86/kernel/microcode_intel.c
@@ -465,7 +465,7 @@ static void microcode_fini_cpu(int cpu)
465 uci->mc = NULL; 465 uci->mc = NULL;
466} 466}
467 467
468struct microcode_ops microcode_intel_ops = { 468static struct microcode_ops microcode_intel_ops = {
469 .request_microcode_user = request_microcode_user, 469 .request_microcode_user = request_microcode_user,
470 .request_microcode_fw = request_microcode_fw, 470 .request_microcode_fw = request_microcode_fw,
471 .collect_cpu_info = collect_cpu_info, 471 .collect_cpu_info = collect_cpu_info,