summaryrefslogtreecommitdiff
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-10-28 23:57:38 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-10-29 02:01:08 +0100
commitb74fd6b842b7e41e4ee6a037dd37735aeedd8095 (patch)
treee01d4326124f30290bb5859dc97f55b7a64399f3 /drivers/net/ixgbe
parent3f2ef27972a6f60e4e41aceba1f9b53a553ff065 (diff)
downloaddpdk-next-eventdev-b74fd6b842b7e41e4ee6a037dd37735aeedd8095.zip
dpdk-next-eventdev-b74fd6b842b7e41e4ee6a037dd37735aeedd8095.tar.gz
dpdk-next-eventdev-b74fd6b842b7e41e4ee6a037dd37735aeedd8095.tar.xz
add missing static keyword to globals
Some global variables can indeed be static, add static keyword to them. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_vf_representor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_vf_representor.c b/drivers/net/ixgbe/ixgbe_vf_representor.c
index 917ee68..5d2e3e0 100644
--- a/drivers/net/ixgbe/ixgbe_vf_representor.c
+++ b/drivers/net/ixgbe/ixgbe_vf_representor.c
@@ -135,7 +135,7 @@ ixgbe_vf_representor_vlan_strip_queue_set(struct rte_eth_dev *ethdev,
representor->vf_id, on);
}
-struct eth_dev_ops ixgbe_vf_representor_dev_ops = {
+static const struct eth_dev_ops ixgbe_vf_representor_dev_ops = {
.dev_infos_get = ixgbe_vf_representor_dev_infos_get,
.dev_start = ixgbe_vf_representor_dev_start,