]> git.baikalelectronics.ru Git - kernel.git/commit
x86: reboot.c declare port_cf9_safe before they get used
authorJaswinder Singh <jaswinder@infradead.org>
Tue, 23 Dec 2008 16:21:28 +0000 (21:51 +0530)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 10:30:17 +0000 (11:30 +0100)
commit9c091c768563e4f1ccdcb5136f1dd133e340d449
treec27d7ca97995442f1cf81b7c8216c13af589980d
parent6ec8e7fc469c68a7df6347c067d006b42dcbb9a4
x86: reboot.c declare port_cf9_safe before they get used

Impact: cleanup, avoid sparse warning

Include "../pci/pci.h" for port_cf9_safe

Fixes this sparse warning:

  arch/x86/kernel/reboot.c:43:6: warning: symbol 'port_cf9_safe' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/reboot.c