diff options
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 51e9ce4907f0..32266fb89c20 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -798,7 +798,7 @@ static void virtnet_vlan_rx_kill_vid(struct net_device *dev, u16 vid) | |||
798 | dev_warn(&dev->dev, "Failed to kill VLAN ID %d.\n", vid); | 798 | dev_warn(&dev->dev, "Failed to kill VLAN ID %d.\n", vid); |
799 | } | 799 | } |
800 | 800 | ||
801 | static struct ethtool_ops virtnet_ethtool_ops = { | 801 | static const struct ethtool_ops virtnet_ethtool_ops = { |
802 | .set_tx_csum = virtnet_set_tx_csum, | 802 | .set_tx_csum = virtnet_set_tx_csum, |
803 | .set_sg = ethtool_op_set_sg, | 803 | .set_sg = ethtool_op_set_sg, |
804 | .set_tso = ethtool_op_set_tso, | 804 | .set_tso = ethtool_op_set_tso, |