From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 31E78DE3 for ; Mon, 16 Jan 2017 14:27:43 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP; 16 Jan 2017 05:27:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,239,1477983600"; d="scan'208";a="54439217" Received: from sivswdev02.ir.intel.com ([10.237.217.46]) by fmsmga006.fm.intel.com with ESMTP; 16 Jan 2017 05:27:41 -0800 From: Ferruh Yigit To: dev@dpdk.org, Stephen Hemminger Cc: Stephen Hurd ; Ajit Khaparde , Jan Medala ; Jakub Palider ; Netanel Belgazal ; Evgeny Schemeilin , Ferruh Yigit Date: Mon, 16 Jan 2017 13:27:38 +0000 Message-Id: <20170116132739.30872-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20170112191212.22710-1-stephen@networkplumber.org> References: <20170112191212.22710-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH] net/bnxt: make eth dev ops struct const X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 13:27:44 -0000 Reported-by: Stephen Hemminger Signed-off-by: Ferruh Yigit --- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 1252a36..501c97d 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, -- 2.9.3