Skip to content

Commit

Permalink
Mark pci_apply_final_quirks() __init rather than __devinit
Browse files Browse the repository at this point in the history
It doesn't get invoked on hotplug; it can be thrown away after init.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Oct 12, 2009
1 parent 8d86fb2 commit 0001026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0001026

Please sign in to comment.