]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/celleb/io-workarounds.c
[POWERPC] pci_controller->arch_data really is a struct device_node *
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / celleb / io-workarounds.c
index 32b9cecfda1566a28204b85b808911d456038279..b939c0e98af8eaf018acb3afce1621f32a87172d 100644 (file)
@@ -222,7 +222,7 @@ void __init celleb_pci_add_one(struct pci_controller *phb,
                               void (*dummy_read)(struct pci_controller *))
 {
        struct celleb_pci_bus *bus = &celleb_pci_busses[celleb_pci_count];
-       struct device_node *np = phb->arch_data;
+       struct device_node *np = phb->dn;
 
        if (celleb_pci_count >= MAX_CELLEB_PCI_BUS) {
                printk(KERN_ERR "Too many pci bridges, workarounds"
@@ -262,7 +262,7 @@ int __init celleb_pci_workaround_init(void)
        }
 
        list_for_each_entry(phb, &hose_list, list_node) {
-               node = phb->arch_data;
+               node = phb->dn;
                match = of_match_node(celleb_pci_workaround_match, node);
 
                if (match) {