Browse Source

powerpc: pci_dn's should point to their device_node's

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Stephen Rothwell 19 years ago
parent
commit
f255f0dd1b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/powerpc/platforms/iseries/pci.c

+ 1 - 0
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);