From: Michal Simek Date: Tue, 12 Jul 2011 13:24:06 +0000 (+0200) Subject: microblaze: PCI fix typo fault in of_node pointer moving into pci_bus X-Git-Tag: v3.1-rc1~145^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c9d761b7c4b658a937a941aea2781f511a0ff3ec;p=linux.git 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 --- diff --git a/arch/microblaze/pci/pci_32.c b/arch/microblaze/pci/pci_32.c index 92728a6cfd80..9fafb0dd9c2a 100644 --- a/arch/microblaze/pci/pci_32.c +++ b/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;