forked from Minki/linux
powerpc: pci_dn's should point to their device_node's
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
This commit is contained in:
parent
f696012330
commit
f255f0dd1b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user