]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/cxgbe/cxgbe_ethdev.c
drivers: make struct of networking operations const
[dpdk.git] / drivers / net / cxgbe / cxgbe_ethdev.c
index c4f4a349414338cd55b794715f3aecc8aa89d8ea..8845c76a0f6747a6e75b05c30564f36e37633c6e 100644 (file)
@@ -781,7 +781,7 @@ cxgbe_dev_supported_ptypes_get(struct rte_eth_dev *eth_dev)
        return NULL;
 }
 
-static struct eth_dev_ops cxgbe_eth_dev_ops = {
+static const struct eth_dev_ops cxgbe_eth_dev_ops = {
        .dev_start              = cxgbe_dev_start,
        .dev_stop               = cxgbe_dev_stop,
        .dev_close              = cxgbe_dev_close,