]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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)
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

index 61f718df6eec1fe74dffaa2cb3b110b1deaeb70b..b165eb0884ed075ad77b88ee3a8a871f4a8df7b2 100644 (file)
@@ -22,6 +22,7 @@
 #endif
 
 #include <mach_ipi.h>
+#include "../pci/pci.h"
 
 
 /*