summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/pci-bridge.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 22:52:26 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-10 22:52:26 +1000
commit76f9f87fa51c9fb62c17986e2066ed467ac2da05 (patch)
tree7e9d351fe87d543b4054a2869718d4b6370b6a29 /include/asm-ppc64/pci-bridge.h
parent40ef8cbc6d360e564573eb19582249c35d8ba330 (diff)
downloadop-kernel-dev-76f9f87fa51c9fb62c17986e2066ed467ac2da05.zip
op-kernel-dev-76f9f87fa51c9fb62c17986e2066ed467ac2da05.tar.gz
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 c342c9e..56863df 100644
--- a/include/asm-ppc64/pci-bridge.h
+++ b/include/asm-ppc64/pci-bridge.h
@@ -3,6 +3,7 @@
#define _ASM_PCI_BRIDGE_H
#include <linux/pci.h>
+#include <linux/list.h>
#include <asm/iSeries/HvCallPci.h>
@@ -74,6 +75,7 @@ struct pci_dn {
struct pci_dev *pcidev; /* back-pointer to the pci device */
struct device_node *node; /* back-pointer to the device_node */
#ifdef CONFIG_PPC_ISERIES
+ struct list_head Device_List;
union HvDsaMap DsaAddr; /* Direct Select Address */
/* busNumber, subBusNumber, */
/* deviceId, barNumber */
OpenPOWER on IntegriCloud