Skip to content

Commit

Permalink
microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,p…
Browse files Browse the repository at this point in the history
…rom}_node

Commit 58f9b0b should
contain this fix too.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Michal Simek authored and Grant Likely committed Aug 16, 2010
1 parent a8dcb87 commit 088ab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/pci/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 088ab30

Please sign in to comment.