浏览代码

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

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Stephen Rothwell 20 年之前
父节点
当前提交
f255f0dd1b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);