Skip to content

Commit

Permalink
powerpc: pci_dn's should point to their device_node's
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
  • Loading branch information
Stephen Rothwell committed Oct 12, 2005
1 parent f696012 commit f255f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f255f0d

Please sign in to comment.