lkml.org 
[lkml]   [2009]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2/4] Mark pci_apply_final_quirks() __init rather than __devinit
From
Date
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 0142275..77bf620 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -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;

--
1.6.5.rc2




\
 
 \ /
  Last update: 2009-10-12 14:15    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site