]> git.openfabrics.org - ~emulex/infiniband.git/commit
powerpc/PCI: move fixup hooks from __init to __devinit
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 3 Jun 2012 18:48:24 +0000 (20:48 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 16 Jun 2012 18:44:30 +0000 (12:44 -0600)
commit492bf4f25a1c8e87a6abb0e2edaa532b7fd43b29
treee9c0787fc0192c2abfda96d2f026b02bdfd45d30
parenta9149164280718ac244d5b5a246de5746f6aad4b
powerpc/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: Kumar Gala <galak@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/platforms/85xx/tqm85xx.c
arch/powerpc/platforms/86xx/gef_ppc9a.c
arch/powerpc/platforms/86xx/gef_sbc310.c
arch/powerpc/platforms/86xx/gef_sbc610.c
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/mv64x60_pci.c