OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d86fb2
)
Mark pci_apply_final_quirks() __init rather than __devinit
author
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 12 Oct 2009 11:50:34 +0000
(12:50 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/pci/quirks.c
b/drivers/pci/quirks.c
index
0142275
..
77bf620
100644
(file)
--- 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 __
dev
init pci_apply_final_quirks(void)
+static int __init pci_apply_final_quirks(void)
{
struct pci_dev *dev = NULL;