[PATCH] __devinitdata on pci_device_tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

Correct the pci.txt about the __devintidata on pci_device_id tables.
Signed-off-by: Henrik Kretzschmar <[email protected]>
---

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux