MIPS: PCI: Move fixups from __init to __devinit.
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Thu, 19 Jul 2012 05:13:54 +0000 (07:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:27:23 +0000 (11:27 +0200)
commit85a053fa5f2d67ae5b2968305b16e8d2fe4cdf4d
treecb7102b0b6270856a4b0ca57eccc30441a981086
parent3592c3cd061fc717b90126de31912110fe0cae3c
MIPS: PCI: Move fixups from __init to __devinit.

Fixups are executed once the pci-device is found which is during boot
process so __init seems fine as long as the platform does not support
hotplug.
However it is possible to remove the PCI bus at run time and have it
rediscovered again via "echo 1 > /sys/bus/pci/rescan" and this will call
the fixups again.

[ralf@linux-mips.org: Made piixirqmap[] in malta_piix_func0_fixup()
__initdata.]

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-malta/malta-pci.c
arch/mips/pci/fixup-fuloong2e.c
arch/mips/pci/fixup-lemote2f.c
arch/mips/pci/fixup-malta.c
arch/mips/pci/fixup-sb1250.c
arch/mips/pci/ops-tx4927.c
arch/mips/pci/pci-ip27.c
arch/mips/txx9/generic/pci.c