浏览代码

microblaze: PCI fix typo fault in of_node pointer moving into pci_bus

Bug introduces in:
powerpc/pci: Make both ppc32 and ppc64 use sysdata for pci_controller
(sha1: b5d937de0367d26f65b9af1aef5f2c34c1939be0)

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 14 年之前
父节点
当前提交
c9d761b7c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/microblaze/pci/pci_32.c

+ 1 - 1
arch/microblaze/pci/pci_32.c

@@ -332,7 +332,7 @@ static void __devinit pcibios_scan_phb(struct pci_controller *hose)
 		       hose->global_number);
 		return;
 	}
-	bus.dev->of_node = of_node_get(node);
+	bus->dev.of_node = of_node_get(node);
 	bus->secondary = hose->first_busno;
 	hose->bus = bus;