]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_e1000/em_ethdev.c
pci: make device id tables const
[dpdk.git] / lib / librte_pmd_e1000 / em_ethdev.c
index 82e0b7a03f53227822c8664ec992bd92a176284b..da02988d3e2ca34752d1e8a13576db375d9f7bac 100644 (file)
@@ -125,7 +125,7 @@ static enum e1000_fc_mode em_fc_setting = e1000_fc_full;
 /*
  * The set of PCI devices this driver supports
  */
-static struct rte_pci_id pci_id_em_map[] = {
+static const struct rte_pci_id pci_id_em_map[] = {
 
 #define RTE_PCI_DEV_ID_DECL_EM(vend, dev) {RTE_PCI_DEVICE(vend, dev)},
 #include "rte_pci_dev_ids.h"