diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-09 22:33:21 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:42:37 -0500 |
commit | 44ef339073f67d4abcc62ae52a5fbc069d7a4d29 (patch) | |
tree | f7d8dab47b9822bbd22a399f24a3e24d10f96621 /arch/powerpc/platforms/85xx | |
parent | 6207e81695c1a64ebed668f26106f3384ad2323a (diff) |
[POWERPC] pci_controller->arch_data really is a struct device_node *
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c index 59c121a97ac7..bdb3d0b38cd2 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c | |||
@@ -123,7 +123,7 @@ static int mpc85xx_exclude_device(struct pci_controller *hose, | |||
123 | struct device_node* node; | 123 | struct device_node* node; |
124 | struct resource rsrc; | 124 | struct resource rsrc; |
125 | 125 | ||
126 | node = (struct device_node *)hose->arch_data; | 126 | node = hose->dn; |
127 | of_address_to_resource(node, 0, &rsrc); | 127 | of_address_to_resource(node, 0, &rsrc); |
128 | 128 | ||
129 | if ((rsrc.start & 0xfffff) == primary_phb_addr) { | 129 | if ((rsrc.start & 0xfffff) == primary_phb_addr) { |