]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75639630525a2feaf1283c4b2abaea303768d9e0
treecb7102b0b6270856a4b0ca57eccc30441a981086
parent5db5c6175ad8451627a96b60c6f0a958de0ec5fd
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