Skip to content

Commit

Permalink
x86: reboot.c declare port_cf9_safe before they get used
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh authored and Ingo Molnar committed Dec 27, 2008
1 parent 34bf5d0 commit 0b936bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#endif

#include <mach_ipi.h>
#include "../pci/pci.h"


/*
Expand Down

0 comments on commit 0b936bf

Please sign in to comment.