mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
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:
parent
d1109b7529
commit
69b123684b
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user