aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/pci-bridge.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 08:52:26 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-10 08:52:26 -0400
commit76f9f87fa51c9fb62c17986e2066ed467ac2da05 (patch)
tree7e9d351fe87d543b4054a2869718d4b6370b6a29 /include/asm-ppc64/pci-bridge.h
parent40ef8cbc6d360e564573eb19582249c35d8ba330 (diff)
powerpc: Get iseries to compile with ARCH=powerpc
This moves the Device_List member from struct device_node to struct pci_dn, which cleans up the device_node and makes the code a little simpler. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/pci-bridge.h')
-rw-r--r--include/asm-ppc64/pci-bridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc64/pci-bridge.h b/include/asm-ppc64/pci-bridge.h
index c342c9eb07a4..56863df18232 100644
--- a/include/asm-ppc64/pci-bridge.h
+++ b/include/asm-ppc64/pci-bridge.h
@@ -3,6 +3,7 @@
3#define _ASM_PCI_BRIDGE_H 3#define _ASM_PCI_BRIDGE_H
4 4
5#include <linux/pci.h> 5#include <linux/pci.h>
6#include <linux/list.h>
6 7
7#include <asm/iSeries/HvCallPci.h> 8#include <asm/iSeries/HvCallPci.h>
8 9
@@ -74,6 +75,7 @@ struct pci_dn {
74 struct pci_dev *pcidev; /* back-pointer to the pci device */ 75 struct pci_dev *pcidev; /* back-pointer to the pci device */
75 struct device_node *node; /* back-pointer to the device_node */ 76 struct device_node *node; /* back-pointer to the device_node */
76#ifdef CONFIG_PPC_ISERIES 77#ifdef CONFIG_PPC_ISERIES
78 struct list_head Device_List;
77 union HvDsaMap DsaAddr; /* Direct Select Address */ 79 union HvDsaMap DsaAddr; /* Direct Select Address */
78 /* busNumber, subBusNumber, */ 80 /* busNumber, subBusNumber, */
79 /* deviceId, barNumber */ 81 /* deviceId, barNumber */