aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/rionet.c')
-rw-r--r--drivers/net/rionet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rionet.c b/drivers/net/rionet.c
index 12cde0604580..b7ff484af3e1 100644
--- a/drivers/net/rionet.c
+++ b/drivers/net/rionet.c
@@ -427,7 +427,7 @@ static void rionet_set_msglevel(struct net_device *ndev, u32 value)
427 rnet->msg_enable = value; 427 rnet->msg_enable = value;
428} 428}
429 429
430static struct ethtool_ops rionet_ethtool_ops = { 430static const struct ethtool_ops rionet_ethtool_ops = {
431 .get_drvinfo = rionet_get_drvinfo, 431 .get_drvinfo = rionet_get_drvinfo,
432 .get_msglevel = rionet_get_msglevel, 432 .get_msglevel = rionet_get_msglevel,
433 .set_msglevel = rionet_set_msglevel, 433 .set_msglevel = rionet_set_msglevel,