Browse Source

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 years ago
parent
commit
c9d761b7c4
1 changed files with 1 additions and 1 deletions
  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);
 		       hose->global_number);
 		return;
 		return;
 	}
 	}
-	bus.dev->of_node = of_node_get(node);
+	bus->dev.of_node = of_node_get(node);
 	bus->secondary = hose->first_busno;
 	bus->secondary = hose->first_busno;
 	hose->bus = bus;
 	hose->bus = bus;