commit | b99ea85a3acff53151322a1c882f217375b1300e | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | Sun Jun 03 20:48:19 2012 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jun 12 09:10:54 2012 -0600 |
tree | 256ad515d5e191d260237c6a6b06b1d53e192695 | |
parent | 83452c6a43d06dfbc7f78b0eafe6664c95a3895c [diff] |
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. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>