aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r--drivers/net/via-velocity.c4
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
88static int velocity_mii_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 88static int velocity_mii_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
89static struct ethtool_ops velocity_ethtool_ops; 89static 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
2974static struct ethtool_ops velocity_ethtool_ops = { 2974static 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,