microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,prom}_node
[deliverable/linux.git] / arch / microblaze / pci / pci-common.c
index 23be25fec4d67bf7e48d612b50e1da9f766371ae..6ca8531a539e7ee357b99de69369aa1cbff4d68b 100644 (file)
@@ -1077,7 +1077,7 @@ void __devinit pcibios_setup_bus_devices(struct pci_bus *bus)
                struct dev_archdata *sd = &dev->dev.archdata;
 
                /* Setup OF node pointer in archdata */
-               sd->of_node = pci_device_to_OF_node(dev);
+               dev->dev.of_node = pci_device_to_OF_node(dev);
 
                /* Fixup NUMA node as it may not be setup yet by the generic
                 * code and is needed by the DMA init
This page took 0.0262 seconds and 5 git commands to generate.