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 04B7EDE3 for ; Mon, 16 Jan 2017 14:27:44 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP; 16 Jan 2017 05:27:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,239,1477983600"; d="scan'208";a="54439225" Received: from sivswdev02.ir.intel.com ([10.237.217.46]) by fmsmga006.fm.intel.com with ESMTP; 16 Jan 2017 05:27:43 -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:39 +0000 Message-Id: <20170116132739.30872-2-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20170116132739.30872-1-ferruh.yigit@intel.com> References: <20170112191212.22710-1-stephen@networkplumber.org> <20170116132739.30872-1-ferruh.yigit@intel.com> Subject: [dpdk-dev] [PATCH] net/ena: 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:45 -0000 Reported-by: Stephen Hemminger Signed-off-by: Ferruh Yigit --- drivers/net/ena/ena_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index b9d0e8a..8497cd7 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -227,7 +227,7 @@ static int ena_rss_reta_query(struct rte_eth_dev *dev, uint16_t reta_size); static int ena_get_sset_count(struct rte_eth_dev *dev, int sset); -static struct eth_dev_ops ena_dev_ops = { +static const struct eth_dev_ops ena_dev_ops = { .dev_configure = ena_dev_configure, .dev_infos_get = ena_infos_get, .rx_queue_setup = ena_rx_queue_setup, -- 2.9.3