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>
This commit is contained in:
Родитель
d1109b7529
Коммит
69b123684b
|
@ -175,6 +175,7 @@ void __devinit iowa_register_bus(struct pci_controller *phb,
|
||||||
bus = &iowa_busses[iowa_bus_count];
|
bus = &iowa_busses[iowa_bus_count];
|
||||||
bus->phb = phb;
|
bus->phb = phb;
|
||||||
bus->ops = ops;
|
bus->ops = ops;
|
||||||
|
bus->private = data;
|
||||||
|
|
||||||
if (initfunc)
|
if (initfunc)
|
||||||
if ((*initfunc)(bus, data))
|
if ((*initfunc)(bus, data))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче