Mark pci_apply_final_quirks() __init rather than __devinit
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 12 Oct 2009 11:50:34 +0000 (12:50 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 12 Oct 2009 13:42:06 +0000 (14:42 +0100)
It doesn't get invoked on hotplug; it can be thrown away after init.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/quirks.c

index 014227540ac9199b69644fe0846f7d59651f8b4a..77bf620ba218b1e4e76ccd964e670a17cc20bf2f 100644 (file)
@@ -2573,7 +2573,7 @@ void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev)
        pci_do_fixups(dev, start, end);
 }
 
-static int __devinit pci_apply_final_quirks(void)
+static int __init pci_apply_final_quirks(void)
 {
        struct pci_dev *dev = NULL;