aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fealnx.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 14:30:00 -0400
commit7282d491ecaee9883233a0e27283c4c79486279a (patch)
tree172ffa70716f5493db57976ceef7652120b3332f /drivers/net/fealnx.c
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (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.c4
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);
440static void __set_rx_mode(struct net_device *dev); 440static void __set_rx_mode(struct net_device *dev);
441static struct net_device_stats *get_stats(struct net_device *dev); 441static struct net_device_stats *get_stats(struct net_device *dev);
442static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 442static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
443static struct ethtool_ops netdev_ethtool_ops; 443static const struct ethtool_ops netdev_ethtool_ops;
444static int netdev_close(struct net_device *dev); 444static int netdev_close(struct net_device *dev);
445static void reset_rx_descriptors(struct net_device *dev); 445static void reset_rx_descriptors(struct net_device *dev);
446static void reset_tx_descriptors(struct net_device *dev); 446static 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
1888static struct ethtool_ops netdev_ethtool_ops = { 1888static 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,