From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by dpdk.org (Postfix) with ESMTP id 549652E41 for ; Mon, 21 Mar 2016 18:53:16 +0100 (CET) Received: by mail-pf0-f177.google.com with SMTP id x3so272973624pfb.1 for ; Mon, 21 Mar 2016 10:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/XdDFEbTIW1IAcZt4C7wrKdeeHdshpaZAFGJlvTMrw4=; b=t4nWFPA9Eq38klOdOWPQcj9hgp2FFPgv76U5P55vniXrO8O8MMQr4SvcfINjRmIpI7 vYbr9kowXbgGK1c0puyoGKfy1ZN1cPDfQU1qJGE99edrcZqmHxVZru1l7o8KZvg8ezRE 4DROVLCMd+HfEwGvwTdoVoquZp2JMqy9L35sEt+1MaIPbunnfMzo4oIag/WPWUvkJJSn FkBghfM07rNrMqqUfO5YC0IqY2RZxqptKOGywSBZ3Ey15IyOY60oDkpR3XWLU9g8qWn/ F/efC+5nwtZ5emt6YlYE2KHSoZZJYUeiez7iZgSgG0e5bVyH2+zcNoV4Vu1xHOyZq4UZ Xvkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/XdDFEbTIW1IAcZt4C7wrKdeeHdshpaZAFGJlvTMrw4=; b=QWS6vmb0h7WoBOwB0g2uN4ZYTtzsmqGmNTak19xEi9nz5p7WeqpFHVQPUyGWs0lL69 u5uvcamo0QgeUvjdMRZBUpHPsyZhJhqZ1KQFZfDt4zkwcHuszfGoHSJTwzVEz6n4ecIk fiSBDLcxegpfXhBDOi5ORCMansW7aGCfSN+jtTkMn39x6aQGlOjEzmsQcS24ziki0Hu0 rEUZFMIT5sSuobjQV4RXiN7xIdeasKOwRPD9uQg8ZzktwE1nauhhFULos2XaLjOFSkwb 5Z0mDg7x8RAP+yMlQNpxOqIaPxLU4GCVDEQDo4x+ZDmeM9ew3cU764JeoRJurhuT4bGg evcQ== X-Gm-Message-State: AD7BkJLKyrOkoyMuMtaVtoO1tbXkhzr0EdHdjC4w1PPOV24TMPNRH2S27JemNVS6pQZHkg== X-Received: by 10.66.102.106 with SMTP id fn10mr47970941pab.60.1458582795774; Mon, 21 Mar 2016 10:53:15 -0700 (PDT) Received: from xeon-e3.home.lan (static-50-53-65-230.bvtn.or.frontiernet.net. [50.53.65.230]) by smtp.gmail.com with ESMTPSA id h2sm42201898pfd.91.2016.03.21.10.53.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Mar 2016 10:53:15 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 21 Mar 2016 10:53:25 -0700 Message-Id: <1458582809-19628-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458582809-19628-1-git-send-email-stephen@networkplumber.org> References: <1458582809-19628-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 2/6] cxgbe: make eth_dev_ops const X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2016 17:53:16 -0000 Signed-off-by: Stephen Hemminger --- drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 8c6dd59..0d636ad 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethdev.c @@ -767,7 +767,7 @@ static int cxgbe_flow_ctrl_set(struct rte_eth_dev *eth_dev, &pi->link_cfg); } -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, -- 2.1.4