diff options
author | Michael Ellerman <michael@ozlabs.org> | 2011-04-11 21:25:02 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-27 04:18:33 (GMT) |
commit | 69b123684b50040b0926eed1e02795dac8cb9587 (patch) | |
tree | 67131d99a659d68dc6e2602800ea4d0846aff46e | |
parent | d1109b7529f362c06c47140ae09dbd2b853ffddc (diff) | |
download | linux-69b123684b50040b0926eed1e02795dac8cb9587.tar.xz |
powerpc/pci: Properly initialize IO workaround "private"
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>
-rw-r--r-- | arch/powerpc/kernel/io-workarounds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/io-workarounds.c b/arch/powerpc/kernel/io-workarounds.c index d36515ea..ffafaea 100644 --- a/arch/powerpc/kernel/io-workarounds.c +++ b/arch/powerpc/kernel/io-workarounds.c @@ -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)) |