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/tulip/dmfe.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
-rw-r--r-- | drivers/net/tulip/dmfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index 66dade556821..ccf2c225f084 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
@@ -298,7 +298,7 @@ static int dmfe_start_xmit(struct sk_buff *, struct DEVICE *); | |||
298 | static int dmfe_stop(struct DEVICE *); | 298 | static int dmfe_stop(struct DEVICE *); |
299 | static struct net_device_stats * dmfe_get_stats(struct DEVICE *); | 299 | static struct net_device_stats * dmfe_get_stats(struct DEVICE *); |
300 | static void dmfe_set_filter_mode(struct DEVICE *); | 300 | static void dmfe_set_filter_mode(struct DEVICE *); |
301 | static struct ethtool_ops netdev_ethtool_ops; | 301 | static const struct ethtool_ops netdev_ethtool_ops; |
302 | static u16 read_srom_word(long ,int); | 302 | static u16 read_srom_word(long ,int); |
303 | static irqreturn_t dmfe_interrupt(int , void *, struct pt_regs *); | 303 | static irqreturn_t dmfe_interrupt(int , void *, struct pt_regs *); |
304 | #ifdef CONFIG_NET_POLL_CONTROLLER | 304 | #ifdef CONFIG_NET_POLL_CONTROLLER |
@@ -1048,7 +1048,7 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
1048 | dev->base_addr, dev->irq); | 1048 | dev->base_addr, dev->irq); |
1049 | } | 1049 | } |
1050 | 1050 | ||
1051 | static struct ethtool_ops netdev_ethtool_ops = { | 1051 | static const struct ethtool_ops netdev_ethtool_ops = { |
1052 | .get_drvinfo = netdev_get_drvinfo, | 1052 | .get_drvinfo = netdev_get_drvinfo, |
1053 | }; | 1053 | }; |
1054 | 1054 | ||