diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 69ea865c01a4..e72c2a60853c 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -2,9 +2,11 @@ | |||
2 | #define _ASM_POWERPC_PCI_BRIDGE_H | 2 | #define _ASM_POWERPC_PCI_BRIDGE_H |
3 | #ifdef __KERNEL__ | 3 | #ifdef __KERNEL__ |
4 | 4 | ||
5 | #ifndef CONFIG_PPC64 | ||
6 | #include <linux/ioport.h> | ||
7 | #include <linux/pci.h> | 5 | #include <linux/pci.h> |
6 | #include <linux/list.h> | ||
7 | #include <linux/ioport.h> | ||
8 | |||
9 | #ifndef CONFIG_PPC64 | ||
8 | 10 | ||
9 | struct device_node; | 11 | struct device_node; |
10 | struct pci_controller; | 12 | struct pci_controller; |
@@ -14,8 +16,9 @@ struct pci_controller; | |||
14 | */ | 16 | */ |
15 | struct pci_controller { | 17 | struct pci_controller { |
16 | struct pci_bus *bus; | 18 | struct pci_bus *bus; |
19 | char is_dynamic; | ||
17 | void *arch_data; | 20 | void *arch_data; |
18 | struct pci_controller *next; | 21 | struct list_head list_node; |
19 | struct device *parent; | 22 | struct device *parent; |
20 | 23 | ||
21 | int first_busno; | 24 | int first_busno; |
@@ -84,8 +87,6 @@ extern void setup_grackle(struct pci_controller *hose); | |||
84 | 87 | ||
85 | #else | 88 | #else |
86 | 89 | ||
87 | #include <linux/pci.h> | ||
88 | #include <linux/list.h> | ||
89 | 90 | ||
90 | /* | 91 | /* |
91 | * This program is free software; you can redistribute it and/or | 92 | * This program is free software; you can redistribute it and/or |