]> 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)
commit355a45d64de51e43067c0b5d7331e10228ff0884
treecb7102b0b6270856a4b0ca57eccc30441a981086
parent29b1173ba1d4aea4140bd20accc13918c112ab2c
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