[PATCH] __devinitdata on pci_device_tables

From: Henne
Date: Thu Jul 06 2006 - 06:10:36 EST


Since some section mismatches happend it doesn't seem to be a good idea to
mark the pci_device_id tables as __devinitdata, so it should be mentioned in pci.txt .

From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>

Correct the pci.txt about the __devintidata on pci_device_id tables.
Signed-off-by: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>
---

--- linux-2.6.18-rc1/Documentation/pci.txt 2006-07-06 10:41:43.000000000 +0200
+++ linux/Documentation/pci.txt 2006-07-06 12:02:10.000000000 +0200
@@ -122,7 +122,7 @@
The module_init()/module_exit() functions (and all initialization
functions called only from these) should be marked __init/exit.
The struct pci_driver shouldn't be marked with any of these tags.
- The ID table array should be marked __devinitdata.
+ The ID table array shouldn't be marked __devinitdata.
The probe() and remove() functions (and all initialization
functions called only from these) should be marked __devinit/exit.
If you are sure the driver is not a hotplug driver then use only
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/