Skip to content
Commit 36c46f31 authored by Lionel Debroux's avatar Lionel Debroux Committed by Borislav Petkov
Browse files

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: default avatarLionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 5e8e19bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment