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/via-velocity.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r-- | drivers/net/via-velocity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index a0f7820cb54b..dd472b64e5a2 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -86,7 +86,7 @@ static int msglevel = MSG_LEVEL_INFO; | |||
86 | 86 | ||
87 | 87 | ||
88 | static int velocity_mii_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); | 88 | static int velocity_mii_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); |
89 | static struct ethtool_ops velocity_ethtool_ops; | 89 | static const struct ethtool_ops velocity_ethtool_ops; |
90 | 90 | ||
91 | /* | 91 | /* |
92 | Define module options | 92 | Define module options |
@@ -2971,7 +2971,7 @@ static void velocity_set_msglevel(struct net_device *dev, u32 value) | |||
2971 | msglevel = value; | 2971 | msglevel = value; |
2972 | } | 2972 | } |
2973 | 2973 | ||
2974 | static struct ethtool_ops velocity_ethtool_ops = { | 2974 | static const struct ethtool_ops velocity_ethtool_ops = { |
2975 | .get_settings = velocity_get_settings, | 2975 | .get_settings = velocity_get_settings, |
2976 | .set_settings = velocity_set_settings, | 2976 | .set_settings = velocity_set_settings, |
2977 | .get_drvinfo = velocity_get_drvinfo, | 2977 | .get_drvinfo = velocity_get_drvinfo, |