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/pcmcia/fmvj18x_cs.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia/fmvj18x_cs.c')
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 74211af0e0c9..d682f30dea6e 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -103,7 +103,7 @@ static void fjn_reset(struct net_device *dev); | |||
103 | static struct net_device_stats *fjn_get_stats(struct net_device *dev); | 103 | static struct net_device_stats *fjn_get_stats(struct net_device *dev); |
104 | static void set_rx_mode(struct net_device *dev); | 104 | static void set_rx_mode(struct net_device *dev); |
105 | static void fjn_tx_timeout(struct net_device *dev); | 105 | static void fjn_tx_timeout(struct net_device *dev); |
106 | static struct ethtool_ops netdev_ethtool_ops; | 106 | static const struct ethtool_ops netdev_ethtool_ops; |
107 | 107 | ||
108 | /* | 108 | /* |
109 | card type | 109 | card type |
@@ -1092,7 +1092,7 @@ static void netdev_set_msglevel(struct net_device *dev, u32 level) | |||
1092 | } | 1092 | } |
1093 | #endif /* PCMCIA_DEBUG */ | 1093 | #endif /* PCMCIA_DEBUG */ |
1094 | 1094 | ||
1095 | static struct ethtool_ops netdev_ethtool_ops = { | 1095 | static const struct ethtool_ops netdev_ethtool_ops = { |
1096 | .get_drvinfo = netdev_get_drvinfo, | 1096 | .get_drvinfo = netdev_get_drvinfo, |
1097 | #ifdef PCMCIA_DEBUG | 1097 | #ifdef PCMCIA_DEBUG |
1098 | .get_msglevel = netdev_get_msglevel, | 1098 | .get_msglevel = netdev_get_msglevel, |