x86: microcode: fix sparse warnings
authorHannes Eder <hannes@hanneseder.net>
Sun, 23 Nov 2008 19:49:52 +0000 (20:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 07:49:19 +0000 (08:49 +0100)
commit4db646b1af8fdcf01d690d29eeae44cd937edb0d
treec58bc915b2faebad95f0e1cfdc735387e1498ce2
parente951e4af2e399c46891004d4931333d2d8d520ab
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>
arch/x86/kernel/microcode_core.c
arch/x86/kernel/microcode_intel.c