diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-09 22:33:21 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:42:37 -0500 |
commit | 44ef339073f67d4abcc62ae52a5fbc069d7a4d29 (patch) | |
tree | f7d8dab47b9822bbd22a399f24a3e24d10f96621 /include | |
parent | 6207e81695c1a64ebed668f26106f3384ad2323a (diff) |
[POWERPC] pci_controller->arch_data really is a struct device_node *
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index f67d262d9ec6..f139f2a44b19 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -11,6 +11,8 @@ | |||
11 | #include <linux/list.h> | 11 | #include <linux/list.h> |
12 | #include <linux/ioport.h> | 12 | #include <linux/ioport.h> |
13 | 13 | ||
14 | struct device_node; | ||
15 | |||
14 | /* | 16 | /* |
15 | * Structure of a PCI controller (host bridge) | 17 | * Structure of a PCI controller (host bridge) |
16 | */ | 18 | */ |
@@ -20,7 +22,7 @@ struct pci_controller { | |||
20 | #ifdef CONFIG_PPC64 | 22 | #ifdef CONFIG_PPC64 |
21 | int node; | 23 | int node; |
22 | #endif | 24 | #endif |
23 | void *arch_data; | 25 | struct device_node *dn; |
24 | struct list_head list_node; | 26 | struct list_head list_node; |
25 | struct device *parent; | 27 | struct device *parent; |
26 | 28 | ||
@@ -132,7 +134,6 @@ extern void __init update_bridge_resource(struct pci_dev *dev, | |||
132 | * by device_node->data. | 134 | * by device_node->data. |
133 | */ | 135 | */ |
134 | struct iommu_table; | 136 | struct iommu_table; |
135 | struct device_node; | ||
136 | 137 | ||
137 | struct pci_dn { | 138 | struct pci_dn { |
138 | int busno; /* pci bus number */ | 139 | int busno; /* pci bus number */ |