Re: [PATCH] PCI fixes for 2.6.0-test6

Greg KH
2003-09-30T22:50:21Z

ChangeSet 1.1351, 2003/09/30 15:19:11-07:00, rtjohnso@eecs.berkeley.edu

[PATCH] PCI: __init documetation

It might not have prevented me from reporting the potential bug, but I
would've known you'd thought about it, it might help future developers,
and it's unlikely to become dangerously wrong.

drivers/pci/quirks.c | 3 +++
1 files changed, 3 insertions(+)

diff -Nru a/drivers/pci/quirks.c b/drivers/pci/quirks.c
--- a/drivers/pci/quirks.c Tue Sep 30 15:20:20 2003
+++ b/drivers/pci/quirks.c Tue Sep 30 15:20:20 2003
@@ -750,6 +750,9 @@

/*
* The main table of quirks.
+ *
+ * Note: any hooks for hotpluggable devices in this table must _NOT_
+ * be declared __init.
*/

static struct pci_fixup pci_fixups[] __devinitdata = {