aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/io-workarounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/cell/io-workarounds.c')
-rw-r--r--arch/powerpc/platforms/cell/io-workarounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/io-workarounds.c b/arch/powerpc/platforms/cell/io-workarounds.c
index 9d7c2ef940a..b86076e3c09 100644
--- a/arch/powerpc/platforms/cell/io-workarounds.c
+++ b/arch/powerpc/platforms/cell/io-workarounds.c
@@ -238,7 +238,7 @@ static void __init spider_pci_setup_chip(struct spider_pci_bus *bus)
238static void __init spider_pci_add_one(struct pci_controller *phb) 238static void __init spider_pci_add_one(struct pci_controller *phb)
239{ 239{
240 struct spider_pci_bus *bus = &spider_pci_busses[spider_pci_count]; 240 struct spider_pci_bus *bus = &spider_pci_busses[spider_pci_count];
241 struct device_node *np = phb->arch_data; 241 struct device_node *np = phb->dn;
242 struct resource rsrc; 242 struct resource rsrc;
243 void __iomem *regs; 243 void __iomem *regs;
244 244
@@ -317,7 +317,7 @@ static int __init spider_pci_workaround_init(void)
317 * update this code to cope with dynamically added busses 317 * update this code to cope with dynamically added busses
318 */ 318 */
319 list_for_each_entry(phb, &hose_list, list_node) { 319 list_for_each_entry(phb, &hose_list, list_node) {
320 struct device_node *np = phb->arch_data; 320 struct device_node *np = phb->dn;
321 const char *model = of_get_property(np, "model", NULL); 321 const char *model = of_get_property(np, "model", NULL);
322 322
323 /* If no model property or name isn't exactly "pci", skip */ 323 /* If no model property or name isn't exactly "pci", skip */