Commit f255f0dd authored by Stephen Rothwell's avatar Stephen Rothwell

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

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent f6960123
...@@ -220,6 +220,7 @@ static struct device_node *build_device_node(HvBusNumber Bus, ...@@ -220,6 +220,7 @@ static struct device_node *build_device_node(HvBusNumber Bus,
return NULL; return NULL;
} }
node->data = pdn; node->data = pdn;
pdn->node = node;
list_add_tail(&pdn->Device_List, &iSeries_Global_Device_List); list_add_tail(&pdn->Device_List, &iSeries_Global_Device_List);
#if 0 #if 0
pdn->DsaAddr = ((u64)Bus << 48) + ((u64)SubBus << 40) + ((u64)0x10 << 32); pdn->DsaAddr = ((u64)Bus << 48) + ((u64)SubBus << 40) + ((u64)0x10 << 32);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment