瀏覽代碼

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>
Michal Simek 15 年之前
父節點
當前提交
088ab302f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/microblaze/pci/pci-common.c

+ 1 - 1
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;
 		struct dev_archdata *sd = &dev->dev.archdata;
 
 
 		/* Setup OF node pointer in 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
 		/* Fixup NUMA node as it may not be setup yet by the generic
 		 * code and is needed by the DMA init
 		 * code and is needed by the DMA init