aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/iseries
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-10 17:10:54 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-12 10:57:45 +1000
commitf255f0dd1b4ef7af0e48f5603d1f27ee4bad5848 (patch)
tree93d93a62b5d3604efbc60666c14e35c90600c237 /arch/powerpc/platforms/iseries
parentf696012330a67a60a9822ed48d1e9ecba73b4f18 (diff)
powerpc: pci_dn's should point to their device_node's
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r--arch/powerpc/platforms/iseries/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c
index 46879d7de92..f79c5982446 100644
--- a/arch/powerpc/platforms/iseries/pci.c
+++ b/arch/powerpc/platforms/iseries/pci.c
@@ -220,6 +220,7 @@ static struct device_node *build_device_node(HvBusNumber Bus,
return NULL;
}
node->data = pdn;
+ pdn->node = node;
list_add_tail(&pdn->Device_List, &iSeries_Global_Device_List);
#if 0
pdn->DsaAddr = ((u64)Bus << 48) + ((u64)SubBus << 40) + ((u64)0x10 << 32);