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/8139cp.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/8139cp.c')
-rw-r--r-- | drivers/net/8139cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index 488241c5bdd8..5ba11fa08147 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c | |||
@@ -1546,7 +1546,7 @@ static void cp_get_ethtool_stats (struct net_device *dev, | |||
1546 | pci_free_consistent(cp->pdev, sizeof(*nic_stats), nic_stats, dma); | 1546 | pci_free_consistent(cp->pdev, sizeof(*nic_stats), nic_stats, dma); |
1547 | } | 1547 | } |
1548 | 1548 | ||
1549 | static struct ethtool_ops cp_ethtool_ops = { | 1549 | static const struct ethtool_ops cp_ethtool_ops = { |
1550 | .get_drvinfo = cp_get_drvinfo, | 1550 | .get_drvinfo = cp_get_drvinfo, |
1551 | .get_regs_len = cp_get_regs_len, | 1551 | .get_regs_len = cp_get_regs_len, |
1552 | .get_stats_count = cp_get_stats_count, | 1552 | .get_stats_count = cp_get_stats_count, |