diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:30:00 -0400 |
commit | 7282d491ecaee9883233a0e27283c4c79486279a (patch) | |
tree | 172ffa70716f5493db57976ceef7652120b3332f /drivers/net/fealnx.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/fealnx.c')
-rw-r--r-- | drivers/net/fealnx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c index b7f471651df1..191bd429076a 100644 --- a/drivers/net/fealnx.c +++ b/drivers/net/fealnx.c | |||
@@ -440,7 +440,7 @@ static void set_rx_mode(struct net_device *dev); | |||
440 | static void __set_rx_mode(struct net_device *dev); | 440 | static void __set_rx_mode(struct net_device *dev); |
441 | static struct net_device_stats *get_stats(struct net_device *dev); | 441 | static struct net_device_stats *get_stats(struct net_device *dev); |
442 | static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 442 | static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
443 | static struct ethtool_ops netdev_ethtool_ops; | 443 | static const struct ethtool_ops netdev_ethtool_ops; |
444 | static int netdev_close(struct net_device *dev); | 444 | static int netdev_close(struct net_device *dev); |
445 | static void reset_rx_descriptors(struct net_device *dev); | 445 | static void reset_rx_descriptors(struct net_device *dev); |
446 | static void reset_tx_descriptors(struct net_device *dev); | 446 | static void reset_tx_descriptors(struct net_device *dev); |
@@ -1885,7 +1885,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 value) | |||
1885 | debug = value; | 1885 | debug = value; |
1886 | } | 1886 | } |
1887 | 1887 | ||
1888 | static struct ethtool_ops netdev_ethtool_ops = { | 1888 | static const struct ethtool_ops netdev_ethtool_ops = { |
1889 | .get_drvinfo = netdev_get_drvinfo, | 1889 | .get_drvinfo = netdev_get_drvinfo, |
1890 | .get_settings = netdev_get_settings, | 1890 | .get_settings = netdev_get_settings, |
1891 | .set_settings = netdev_set_settings, | 1891 | .set_settings = netdev_set_settings, |