summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-08-16 10:31:54 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-08-16 22:55:48 +0200
commit088ab302f23bfc8abfaada32506d02d64a637b23 (patch)
treee98e914cd497e530580638d642d296cf2653a750 /arch
parentmicroblaze: Fix of/address: Merge all of the bus translation code (diff)
downloadlinux-088ab302f23bfc8abfaada32506d02d64a637b23.tar.xz
linux-088ab302f23bfc8abfaada32506d02d64a637b23.zip
microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,prom}_node
Commit 58f9b0b02414062eaff46716bc04b47d7e79add5 should contain this fix too. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/pci/pci-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
index 23be25fec4d6..6ca8531a539e 100644
--- a/arch/microblaze/pci/pci-common.c
+++ b/arch/microblaze/pci/pci-common.c
@@ -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