aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_dn.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-12-09 22:33:21 -0500
committerPaul Mackerras <paulus@samba.org>2007-12-10 21:42:37 -0500
commit44ef339073f67d4abcc62ae52a5fbc069d7a4d29 (patch)
treef7d8dab47b9822bbd22a399f24a3e24d10f96621 /arch/powerpc/kernel/pci_dn.c
parent6207e81695c1a64ebed668f26106f3384ad2323a (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/kernel/pci_dn.c')
-rw-r--r--arch/powerpc/kernel/pci_dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_dn.c b/arch/powerpc/kernel/pci_dn.c
index b4839038613d..85d4d8924b5c 100644
--- a/arch/powerpc/kernel/pci_dn.c
+++ b/arch/powerpc/kernel/pci_dn.c
@@ -133,7 +133,7 @@ void *traverse_pci_devices(struct device_node *start, traverse_func pre,
133 */ 133 */
134void __devinit pci_devs_phb_init_dynamic(struct pci_controller *phb) 134void __devinit pci_devs_phb_init_dynamic(struct pci_controller *phb)
135{ 135{
136 struct device_node * dn = (struct device_node *) phb->arch_data; 136 struct device_node *dn = phb->dn;
137 struct pci_dn *pdn; 137 struct pci_dn *pdn;
138 138
139 /* PHB nodes themselves must not match */ 139 /* PHB nodes themselves must not match */