]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit36c46f31df910b092aaaed27c7c616bb8e2302a1
treecc46fcc301511b0780625d037ac19d24c065ca43
parent5e8e19bf6c3c9d8ecf74e2a7fdae99a76949bdf6
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>
18 files changed:
drivers/edac/amd64_edac.c
drivers/edac/amd76x_edac.c
drivers/edac/e752x_edac.c
drivers/edac/e7xxx_edac.c
drivers/edac/i3000_edac.c
drivers/edac/i3200_edac.c
drivers/edac/i5000_edac.c
drivers/edac/i5100_edac.c
drivers/edac/i5400_edac.c
drivers/edac/i7300_edac.c
drivers/edac/i7core_edac.c
drivers/edac/i82443bxgx_edac.c
drivers/edac/i82860_edac.c
drivers/edac/i82875p_edac.c
drivers/edac/i82975x_edac.c
drivers/edac/r82600_edac.c
drivers/edac/sb_edac.c
drivers/edac/x38_edac.c