aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ewrk3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ewrk3.c')
-rw-r--r--drivers/net/ewrk3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ewrk3.c b/drivers/net/ewrk3.c
index 78a1c425a9ab..75a43f7c70cf 100644
--- a/drivers/net/ewrk3.c
+++ b/drivers/net/ewrk3.c
@@ -305,8 +305,8 @@ static int ewrk3_close(struct net_device *dev);
305static struct net_device_stats *ewrk3_get_stats(struct net_device *dev); 305static struct net_device_stats *ewrk3_get_stats(struct net_device *dev);
306static void set_multicast_list(struct net_device *dev); 306static void set_multicast_list(struct net_device *dev);
307static int ewrk3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 307static int ewrk3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
308static struct ethtool_ops ethtool_ops_203; 308static const struct ethtool_ops ethtool_ops_203;
309static struct ethtool_ops ethtool_ops; 309static const struct ethtool_ops ethtool_ops;
310 310
311/* 311/*
312 ** Private functions 312 ** Private functions
@@ -1666,14 +1666,14 @@ static int ewrk3_phys_id(struct net_device *dev, u32 data)
1666 return signal_pending(current) ? -ERESTARTSYS : 0; 1666 return signal_pending(current) ? -ERESTARTSYS : 0;
1667} 1667}
1668 1668
1669static struct ethtool_ops ethtool_ops_203 = { 1669static const struct ethtool_ops ethtool_ops_203 = {
1670 .get_drvinfo = ewrk3_get_drvinfo, 1670 .get_drvinfo = ewrk3_get_drvinfo,
1671 .get_settings = ewrk3_get_settings, 1671 .get_settings = ewrk3_get_settings,
1672 .set_settings = ewrk3_set_settings, 1672 .set_settings = ewrk3_set_settings,
1673 .phys_id = ewrk3_phys_id, 1673 .phys_id = ewrk3_phys_id,
1674}; 1674};
1675 1675
1676static struct ethtool_ops ethtool_ops = { 1676static const struct ethtool_ops ethtool_ops = {
1677 .get_drvinfo = ewrk3_get_drvinfo, 1677 .get_drvinfo = ewrk3_get_drvinfo,
1678 .get_settings = ewrk3_get_settings, 1678 .get_settings = ewrk3_get_settings,
1679 .set_settings = ewrk3_set_settings, 1679 .set_settings = ewrk3_set_settings,