git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pci: make device id tables const
[dpdk.git]
/
lib
/
librte_pmd_e1000
/
em_ethdev.c
diff --git
a/lib/librte_pmd_e1000/em_ethdev.c
b/lib/librte_pmd_e1000/em_ethdev.c
index
82e0b7a
..
da02988
100644
(file)
--- a/
lib/librte_pmd_e1000/em_ethdev.c
+++ b/
lib/librte_pmd_e1000/em_ethdev.c
@@
-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"