aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/mcs7830.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/mcs7830.c')
-rw-r--r--drivers/net/usb/mcs7830.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/mcs7830.c b/drivers/net/usb/mcs7830.c
index 7ae9afe99a4f..10873d96b2da 100644
--- a/drivers/net/usb/mcs7830.c
+++ b/drivers/net/usb/mcs7830.c
@@ -449,7 +449,7 @@ static void mcs7830_get_regs(struct net_device *net, struct ethtool_regs *regs,
449 mcs7830_get_reg(dev, 0, regs->len, data); 449 mcs7830_get_reg(dev, 0, regs->len, data);
450} 450}
451 451
452static struct ethtool_ops mcs7830_ethtool_ops = { 452static const struct ethtool_ops mcs7830_ethtool_ops = {
453 .get_drvinfo = mcs7830_get_drvinfo, 453 .get_drvinfo = mcs7830_get_drvinfo,
454 .get_regs_len = mcs7830_get_regs_len, 454 .get_regs_len = mcs7830_get_regs_len,
455 .get_regs = mcs7830_get_regs, 455 .get_regs = mcs7830_get_regs,