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/wireless/ray_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/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 8e112d139e29..4574290f971f 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -99,7 +99,7 @@ static int ray_dev_config(struct net_device *dev, struct ifmap *map); | |||
99 | static struct net_device_stats *ray_get_stats(struct net_device *dev); | 99 | static struct net_device_stats *ray_get_stats(struct net_device *dev); |
100 | static int ray_dev_init(struct net_device *dev); | 100 | static int ray_dev_init(struct net_device *dev); |
101 | 101 | ||
102 | static struct ethtool_ops netdev_ethtool_ops; | 102 | static const struct ethtool_ops netdev_ethtool_ops; |
103 | 103 | ||
104 | static int ray_open(struct net_device *dev); | 104 | static int ray_open(struct net_device *dev); |
105 | static int ray_dev_start_xmit(struct sk_buff *skb, struct net_device *dev); | 105 | static int ray_dev_start_xmit(struct sk_buff *skb, struct net_device *dev); |
@@ -1092,7 +1092,7 @@ static void netdev_get_drvinfo(struct net_device *dev, | |||
1092 | strcpy(info->driver, "ray_cs"); | 1092 | strcpy(info->driver, "ray_cs"); |
1093 | } | 1093 | } |
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 | }; | 1097 | }; |
1098 | 1098 | ||