alpha/PCI: move fixup hooks from __init to __devinit
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 3 Jun 2012 18:48:20 +0000 (20:48 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Jun 2012 15:10:54 +0000 (09:10 -0600)
commit8ff255afb022b8e183c7aa1ecc4ba8d0563e1e17
tree83fd9bedf2402355d0660b016672af9f7ddae0da
parentb99ea85a3acff53151322a1c882f217375b1300e
alpha/PCI: move fixup hooks from __init to __devinit

The 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.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/alpha/kernel/pci.c