frv/PCI: move fixup hooks from __init to __devinit
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 3 Jun 2012 18:48:22 +0000 (20:48 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Jun 2012 15:10:55 +0000 (09:10 -0600)
commita9149164280718ac244d5b5a246de5746f6aad4b
tree62ebb14f6c7dbbe9d8f76c3d01538b389c4e64d9
parentf39acb1f00059a7fada1971dcd6374fbff9b3238
frv/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: David Howells <dhowells@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/frv/mb93090-mb00/pci-vdk.c