powerpc: pci_dn's should point to their device_node's
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Oct 2005 07:10:54 +0000 (17:10 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2005 00:57:45 +0000 (10:57 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/platforms/iseries/pci.c

index 46879d7de9251690d275c8af71c1ddfbf44d95ce..f79c5982446b99ff9d484ac9d1c41cb4b95155d5 100644 (file)
@@ -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);