aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_nic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_nic.c')
-rw-r--r--drivers/infiniband/hw/nes/nes_nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c
index c6e6611d3016..538e409d4515 100644
--- a/drivers/infiniband/hw/nes/nes_nic.c
+++ b/drivers/infiniband/hw/nes/nes_nic.c
@@ -1508,7 +1508,7 @@ static int nes_netdev_set_settings(struct net_device *netdev, struct ethtool_cmd
1508} 1508}
1509 1509
1510 1510
1511static struct ethtool_ops nes_ethtool_ops = { 1511static const struct ethtool_ops nes_ethtool_ops = {
1512 .get_link = ethtool_op_get_link, 1512 .get_link = ethtool_op_get_link,
1513 .get_settings = nes_netdev_get_settings, 1513 .get_settings = nes_netdev_get_settings,
1514 .set_settings = nes_netdev_set_settings, 1514 .set_settings = nes_netdev_set_settings,