]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
microblaze: PCI fix typo fault in of_node pointer moving into pci_bus
authorMichal Simek <monstr@monstr.eu>
Tue, 12 Jul 2011 13:24:06 +0000 (15:24 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 25 Jul 2011 07:25:27 +0000 (09:25 +0200)
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>
arch/microblaze/pci/pci_32.c

index 92728a6cfd80c8a95b0ef1b2bf7dea10a5f25aed..9fafb0dd9c2ae09f4d37172e2a1983a69344ea2a 100644 (file)
@@ -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;