]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_mlx4/mlx4.c
ethdev: make dev_ops const
[dpdk.git] / lib / librte_pmd_mlx4 / mlx4.c
index 0eca322d5de1b0dd62882e8372e33a470138ebf2..e0960718c53aff304f91143d47cc1cb69ccf5311 100644 (file)
@@ -4162,7 +4162,7 @@ mlx4_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on)
        return -ret;
 }
 
-static struct eth_dev_ops mlx4_dev_ops = {
+static const struct eth_dev_ops mlx4_dev_ops = {
        .dev_configure = mlx4_dev_configure,
        .dev_start = mlx4_dev_start,
        .dev_stop = mlx4_dev_stop,