aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/asix.c')
-rw-r--r--drivers/net/usb/asix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index 87b4a0289919..6ce7f775bb74 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -731,7 +731,7 @@ static int asix_ioctl (struct net_device *net, struct ifreq *rq, int cmd)
731/* We need to override some ethtool_ops so we require our 731/* We need to override some ethtool_ops so we require our
732 own structure so we don't interfere with other usbnet 732 own structure so we don't interfere with other usbnet
733 devices that may be connected at the same time. */ 733 devices that may be connected at the same time. */
734static struct ethtool_ops ax88172_ethtool_ops = { 734static const struct ethtool_ops ax88172_ethtool_ops = {
735 .get_drvinfo = asix_get_drvinfo, 735 .get_drvinfo = asix_get_drvinfo,
736 .get_link = asix_get_link, 736 .get_link = asix_get_link,
737 .get_msglevel = usbnet_get_msglevel, 737 .get_msglevel = usbnet_get_msglevel,
@@ -873,7 +873,7 @@ out:
873 return ret; 873 return ret;
874} 874}
875 875
876static struct ethtool_ops ax88772_ethtool_ops = { 876static const struct ethtool_ops ax88772_ethtool_ops = {
877 .get_drvinfo = asix_get_drvinfo, 877 .get_drvinfo = asix_get_drvinfo,
878 .get_link = asix_get_link, 878 .get_link = asix_get_link,
879 .get_msglevel = usbnet_get_msglevel, 879 .get_msglevel = usbnet_get_msglevel,