diff options
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r-- | drivers/net/xen-netfront.c | 4 |
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 | ||
54 | static struct ethtool_ops xennet_ethtool_ops; | 54 | static const struct ethtool_ops xennet_ethtool_ops; |
55 | 55 | ||
56 | struct netfront_cb { | 56 | struct 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 | ||
1630 | static struct ethtool_ops xennet_ethtool_ops = | 1630 | static 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, |