aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r--drivers/net/xen-netfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index 3700c49d76ca..baa051d5bfbe 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -51,7 +51,7 @@
51#include <xen/interface/memory.h> 51#include <xen/interface/memory.h>
52#include <xen/interface/grant_table.h> 52#include <xen/interface/grant_table.h>
53 53
54static struct ethtool_ops xennet_ethtool_ops; 54static const struct ethtool_ops xennet_ethtool_ops;
55 55
56struct netfront_cb { 56struct netfront_cb {
57 struct page *page; 57 struct page *page;
@@ -1627,7 +1627,7 @@ static void backend_changed(struct xenbus_device *dev,
1627 } 1627 }
1628} 1628}
1629 1629
1630static struct ethtool_ops xennet_ethtool_ops = 1630static const struct ethtool_ops xennet_ethtool_ops =
1631{ 1631{
1632 .set_tx_csum = ethtool_op_set_tx_csum, 1632 .set_tx_csum = ethtool_op_set_tx_csum,
1633 .set_sg = xennet_set_sg, 1633 .set_sg = xennet_set_sg,