Skip to content

Commit

Permalink
declare rtbt_pci_ids struct as const
Browse files Browse the repository at this point in the history
  • Loading branch information
loimu committed Nov 20, 2016
1 parent 0e83d54 commit 935a132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rtbth_core_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
#ifdef OS_ABL_SUPPORT
/* struct pci_device_id *rtbt_pci_ids = NULL; */
#else
static struct pci_device_id rtbt_pci_ids[] = {
static const struct pci_device_id rtbt_pci_ids[] = {
{PCI_DEVICE(0x1814, 0x3298)},
/* do not remove the last entry */
{}
};
MODULE_DEVICE_TABLE(pci, rtbt_pci_ids);
Expand Down

0 comments on commit 935a132

Please sign in to comment.