microblaze: pci_controller->arch_data really is a struct device_node *
authorMichal Simek <monstr@monstr.eu>
Wed, 13 Jan 2010 14:29:52 +0000 (15:29 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 18 Jan 2010 15:36:07 +0000 (16:36 +0100)
we are follow powerpc change:
44ef339073f67d4abcc62ae52a5fbc069d7a4d29

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/prom_parse.c

index ae0352ecd5a9c72e5178064dc350ccc946346510..bf7e6c27e318f88a0cf5a8a352d7126f460f0be5 100644 (file)
@@ -256,7 +256,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
                if (ppdev == NULL) {
                        struct pci_controller *host;
                        host = pci_bus_to_host(pdev->bus);
-                       ppnode = host ? host->arch_data : NULL;
+                       ppnode = host ? host->dn : NULL;
                        /* No node for host bridge ? give up */
                        if (ppnode == NULL)
                                return -EINVAL;