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/3c503.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/3c503.c')
-rw-r--r-- | drivers/net/3c503.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c503.c b/drivers/net/3c503.c index 64313e3dfcb8..a34b2206132d 100644 --- a/drivers/net/3c503.c +++ b/drivers/net/3c503.c | |||
@@ -79,7 +79,7 @@ static void el2_block_input(struct net_device *dev, int count, struct sk_buff *s | |||
79 | int ring_offset); | 79 | int ring_offset); |
80 | static void el2_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, | 80 | static void el2_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, |
81 | int ring_page); | 81 | int ring_page); |
82 | static struct ethtool_ops netdev_ethtool_ops; | 82 | static const struct ethtool_ops netdev_ethtool_ops; |
83 | 83 | ||
84 | 84 | ||
85 | /* This routine probes for a memory-mapped 3c503 board by looking for | 85 | /* This routine probes for a memory-mapped 3c503 board by looking for |
@@ -666,7 +666,7 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
666 | sprintf(info->bus_info, "ISA 0x%lx", dev->base_addr); | 666 | sprintf(info->bus_info, "ISA 0x%lx", dev->base_addr); |
667 | } | 667 | } |
668 | 668 | ||
669 | static struct ethtool_ops netdev_ethtool_ops = { | 669 | static const struct ethtool_ops netdev_ethtool_ops = { |
670 | .get_drvinfo = netdev_get_drvinfo, | 670 | .get_drvinfo = netdev_get_drvinfo, |
671 | }; | 671 | }; |
672 | 672 | ||