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/eepro.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index bf9efa75390f..09ff9b9418f4 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -743,7 +743,7 @@ static void __init eepro_print_info (struct net_device *dev) | |||
743 | printEEPROMInfo(dev); | 743 | printEEPROMInfo(dev); |
744 | } | 744 | } |
745 | 745 | ||
746 | static struct ethtool_ops eepro_ethtool_ops; | 746 | static const struct ethtool_ops eepro_ethtool_ops; |
747 | 747 | ||
748 | /* This is the real probe routine. Linux has a history of friendly device | 748 | /* This is the real probe routine. Linux has a history of friendly device |
749 | probes on the ISA bus. A good device probe avoids doing writes, and | 749 | probes on the ISA bus. A good device probe avoids doing writes, and |
@@ -1771,7 +1771,7 @@ static void eepro_ethtool_get_drvinfo(struct net_device *dev, | |||
1771 | sprintf(drvinfo->bus_info, "ISA 0x%lx", dev->base_addr); | 1771 | sprintf(drvinfo->bus_info, "ISA 0x%lx", dev->base_addr); |
1772 | } | 1772 | } |
1773 | 1773 | ||
1774 | static struct ethtool_ops eepro_ethtool_ops = { | 1774 | static const struct ethtool_ops eepro_ethtool_ops = { |
1775 | .get_settings = eepro_ethtool_get_settings, | 1775 | .get_settings = eepro_ethtool_get_settings, |
1776 | .get_drvinfo = eepro_ethtool_get_drvinfo, | 1776 | .get_drvinfo = eepro_ethtool_get_drvinfo, |
1777 | }; | 1777 | }; |