diff options
author | Myron Stowe <myron.stowe@redhat.com> | 2012-07-09 15:36:33 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-07-09 20:56:45 -0600 |
commit | ce6ed7e7f7e12af1a08cc32ad33d1b3202fede64 (patch) | |
tree | b2bc551a12ff811f5c515d7bc2f3b4b91f2382cc /arch | |
parent | 02d4b36bf0022a17f20c3a79b3d94a14dbd6da3a (diff) | |
download | blackbird-obmc-linux-ce6ed7e7f7e12af1a08cc32ad33d1b3202fede64.tar.gz blackbird-obmc-linux-ce6ed7e7f7e12af1a08cc32ad33d1b3202fede64.zip |
x86/PCI: move final fixups from __init to __devinit
Final fixups are executed during device enumeration. If we support
hotplug, this may be after boot, so final fixups cannot be __init.
[bhelgaas: changelog]
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c index 03920a15a632..1b27de563561 100644 --- a/arch/x86/kernel/quirks.c +++ b/arch/x86/kernel/quirks.c @@ -512,7 +512,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, #if defined(CONFIG_PCI) && defined(CONFIG_NUMA) /* Set correct numa_node information for AMD NB functions */ -static void __init quirk_amd_nb_node(struct pci_dev *dev) +static void __devinit quirk_amd_nb_node(struct pci_dev *dev) { struct pci_dev *nb_ht; unsigned int devfn; |