Skip to content

Commit 0420101

Browse files
rddunlapIngo Molnar
authored andcommitted
x86: k8.h: Add struct bootnode
k8.h uses struct bootnode but does not #include a header file for it, so provide a simple declaration for it. arch/x86/include/asm/k8.h:13: warning: 'struct bootnode' declared inside parameter list arch/x86/include/asm/k8.h:13: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Randy Dunlap <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Stephen Rothwell <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent e7d23dd commit 0420101

File tree

1 file changed

+1
-0
lines changed
  • arch/x86/include/asm

1 file changed

+1
-0
lines changed

arch/x86/include/asm/k8.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <linux/pci.h>
55

66
extern struct pci_device_id k8_nb_ids[];
7+
struct bootnode;
78

89
extern int early_is_k8_nb(u32 value);
910
extern struct pci_dev **k8_northbridges;

0 commit comments

Comments
 (0)