aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/86xx
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/platforms/86xx
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/platforms/86xx')
-rw-r--r--arch/powerpc/platforms/86xx/mpc8610_hpcd.c2
-rw-r--r--arch/powerpc/platforms/86xx/mpc86xx_hpcn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
index 6390895e5e9..c6d2f48f8f3 100644
--- a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
+++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c
@@ -124,7 +124,7 @@ static void __devinit quirk_uli5229(struct pci_dev *dev)
124static void __devinit final_uli5288(struct pci_dev *dev) 124static void __devinit final_uli5288(struct pci_dev *dev)
125{ 125{
126 struct pci_controller *hose = pci_bus_to_host(dev->bus); 126 struct pci_controller *hose = pci_bus_to_host(dev->bus);
127 struct device_node *hosenode = hose ? hose->arch_data : NULL; 127 struct device_node *hosenode = hose ? hose->dn : NULL;
128 struct of_irq oirq; 128 struct of_irq oirq;
129 int virq, pin = 2; 129 int virq, pin = 2;
130 u32 laddr[3]; 130 u32 laddr[3];
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 32a531aebcb..14f4e527e7a 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -116,7 +116,7 @@ static int mpc86xx_exclude_device(struct pci_controller *hose,
116 struct device_node* node; 116 struct device_node* node;
117 struct resource rsrc; 117 struct resource rsrc;
118 118
119 node = (struct device_node *)hose->arch_data; 119 node = hose->dn;
120 of_address_to_resource(node, 0, &rsrc); 120 of_address_to_resource(node, 0, &rsrc);
121 121
122 if ((rsrc.start & 0xfffff) == 0x8000) { 122 if ((rsrc.start & 0xfffff) == 0x8000) {