EDAC: Make pci_device_id tables __devinitconst.
authorLionel Debroux <lionel_debroux@yahoo.fr>
Mon, 27 Feb 2012 06:41:47 +0000 (07:41 +0100)
committerBorislav Petkov <bp@alien8.de>
Mon, 19 Mar 2012 11:04:54 +0000 (12:04 +0100)
These const tables are currently marked __devinitdata, but
Documentation/PCI/pci.txt says:

"o The ID table array should be marked __devinitconst; this is done
automatically if the table is declared with DEFINE_PCI_DEVICE_TABLE()."

So use DEFINE_PCI_DEVICE_TABLE(x).

Based on PaX and earlier work by Andi Kleen.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

No differences found