]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/infiniband/hw/nes/nes_nic.c
netdev: drivers should make ethtool_ops const
[mirror_ubuntu-zesty-kernel.git] / drivers / infiniband / hw / nes / nes_nic.c
index c6e6611d3016edd624d8675d1f99c44d4be2ef9f..538e409d451528f3c3faa62976b5c79e2879c042 100644 (file)
@@ -1508,7 +1508,7 @@ static int nes_netdev_set_settings(struct net_device *netdev, struct ethtool_cmd
 }
 
 
-static struct ethtool_ops nes_ethtool_ops = {
+static const struct ethtool_ops nes_ethtool_ops = {
        .get_link = ethtool_op_get_link,
        .get_settings = nes_netdev_get_settings,
        .set_settings = nes_netdev_set_settings,