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-Tag: v2.6.15-rc1~59^2~186 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848;p=linux-2.6 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 46879d7de9..f79c598244 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);