From: Stephen Rothwell Date: Mon, 10 Oct 2005 07:10:54 +0000 (+1000) Subject: powerpc: pci_dn's should point to their device_node's X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848;p=mv-sheeva.git powerpc: pci_dn's should point to their device_node's Signed-off-by: Stephen Rothwell --- 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);