powerpc/pci: Properly initialize IO workaround "private"
authorMichael Ellerman <michael@ozlabs.org>
Mon, 11 Apr 2011 21:25:02 +0000 (21:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Apr 2011 04:18:33 +0000 (14:18 +1000)
Even when no initfunc is provided.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/io-workarounds.c

index d36515eaa314bf61e01aed03012db3b8bdaf816d..ffafaea3d261f8f2fbeb3ee45cd58bc958e40572 100644 (file)
@@ -175,6 +175,7 @@ void __devinit iowa_register_bus(struct pci_controller *phb,
        bus = &iowa_busses[iowa_bus_count];
        bus->phb = phb;
        bus->ops = ops;
+       bus->private = data;
 
        if (initfunc)
                if ((*initfunc)(bus, data))