aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.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/natsemi.c
parent76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff)
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index 51cc1e60b8c4..d7b241f7d7bc 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -647,7 +647,7 @@ static void enable_wol_mode(struct net_device *dev, int enable_intr);
647static int netdev_close(struct net_device *dev); 647static int netdev_close(struct net_device *dev);
648static int netdev_get_regs(struct net_device *dev, u8 *buf); 648static int netdev_get_regs(struct net_device *dev, u8 *buf);
649static int netdev_get_eeprom(struct net_device *dev, u8 *buf); 649static int netdev_get_eeprom(struct net_device *dev, u8 *buf);
650static struct ethtool_ops ethtool_ops; 650static const struct ethtool_ops ethtool_ops;
651 651
652static inline void __iomem *ns_ioaddr(struct net_device *dev) 652static inline void __iomem *ns_ioaddr(struct net_device *dev)
653{ 653{
@@ -2573,7 +2573,7 @@ static int get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8
2573 return res; 2573 return res;
2574} 2574}
2575 2575
2576static struct ethtool_ops ethtool_ops = { 2576static const struct ethtool_ops ethtool_ops = {
2577 .get_drvinfo = get_drvinfo, 2577 .get_drvinfo = get_drvinfo,
2578 .get_regs_len = get_regs_len, 2578 .get_regs_len = get_regs_len,
2579 .get_eeprom_len = get_eeprom_len, 2579 .get_eeprom_len = get_eeprom_len,