From 8b3249cccf88bc6d739490184ad57ac7e3a38a43 Mon Sep 17 00:00:00 2001 From: "Robert T. Johnson" Date: Tue, 30 Sep 2003 01:19:11 -0700 Subject: [PATCH] [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 file changed, 3 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index d09e916bef0a2..9e75311327e98 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -750,6 +750,9 @@ static void __init quirk_sis_96x_compatible(struct pci_dev *dev) /* * 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 = { -- 2.53.0