From: Ferruh Yigit Date: Thu, 12 Jan 2017 22:19:37 +0000 (+0000) Subject: net/bnxt: make ethdev functions struct const X-Git-Tag: spdx-start~4801 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d7579634f7021b02d4e1c9239450b9dc1e734f78;p=dpdk.git net/bnxt: make ethdev functions struct const Reported-by: Stephen Hemminger Signed-off-by: Ferruh Yigit --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 1252a363c1..501c97d222 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1002,7 +1002,7 @@ static int bnxt_flow_ctrl_set_op(struct rte_eth_dev *dev, * Initialization */ -static struct eth_dev_ops bnxt_dev_ops = { +static const struct eth_dev_ops bnxt_dev_ops = { .dev_infos_get = bnxt_dev_info_get_op, .dev_close = bnxt_dev_close_op, .dev_configure = bnxt_dev_configure_op,