commit | 36c46f31df910b092aaaed27c7c616bb8e2302a1 | [log] [tgz] |
---|---|---|
author | Lionel Debroux <lionel_debroux@yahoo.fr> | Mon Feb 27 07:41:47 2012 +0100 |
committer | Borislav Petkov <bp@alien8.de> | Mon Mar 19 12:04:54 2012 +0100 |
tree | cc46fcc301511b0780625d037ac19d24c065ca43 | |
parent | 5e8e19bf6c3c9d8ecf74e2a7fdae99a76949bdf6 [diff] |
EDAC: Make pci_device_id tables __devinitconst. 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>