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/uli526x.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/uli526x.c')
-rw-r--r-- | drivers/net/tulip/uli526x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index c4c720e2d4c3..0b176be51eb3 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c | |||
@@ -222,7 +222,7 @@ static int uli526x_start_xmit(struct sk_buff *, struct net_device *); | |||
222 | static int uli526x_stop(struct net_device *); | 222 | static int uli526x_stop(struct net_device *); |
223 | static struct net_device_stats * uli526x_get_stats(struct net_device *); | 223 | static struct net_device_stats * uli526x_get_stats(struct net_device *); |
224 | static void uli526x_set_filter_mode(struct net_device *); | 224 | static void uli526x_set_filter_mode(struct net_device *); |
225 | static struct ethtool_ops netdev_ethtool_ops; | 225 | static const struct ethtool_ops netdev_ethtool_ops; |
226 | static u16 read_srom_word(long, int); | 226 | static u16 read_srom_word(long, int); |
227 | static irqreturn_t uli526x_interrupt(int, void *, struct pt_regs *); | 227 | static irqreturn_t uli526x_interrupt(int, void *, struct pt_regs *); |
228 | static void uli526x_descriptor_init(struct uli526x_board_info *, unsigned long); | 228 | static void uli526x_descriptor_init(struct uli526x_board_info *, unsigned long); |
@@ -985,7 +985,7 @@ static void uli526x_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) | |||
985 | wol->wolopts = 0; | 985 | wol->wolopts = 0; |
986 | } | 986 | } |
987 | 987 | ||
988 | static struct ethtool_ops netdev_ethtool_ops = { | 988 | static const struct ethtool_ops netdev_ethtool_ops = { |
989 | .get_drvinfo = netdev_get_drvinfo, | 989 | .get_drvinfo = netdev_get_drvinfo, |
990 | .get_settings = netdev_get_settings, | 990 | .get_settings = netdev_get_settings, |
991 | .get_link = netdev_get_link, | 991 | .get_link = netdev_get_link, |