mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
misc: pti, add const to pci_device_id table
It is annotated as __devinitconst. Despite the annotation is useless in most cases, const keyword is misssing there. So we are placing non-const data into rodata section. Fix that now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
86176ed905
commit
d15684228a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ struct pti_dev {
|
|||
*/
|
||||
static DEFINE_MUTEX(alloclock);
|
||||
|
||||
static struct pci_device_id pci_ids[] __devinitconst = {
|
||||
static const struct pci_device_id pci_ids[] __devinitconst = {
|
||||
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x82B)},
|
||||
{0}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue