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/orinoco.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/orinoco.c')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 1174ff53e025..1840b69e3cb5 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -165,7 +165,7 @@ static const u8 encaps_hdr[] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00}; | |||
165 | #define MAX_RID_LEN 1024 | 165 | #define MAX_RID_LEN 1024 |
166 | 166 | ||
167 | static const struct iw_handler_def orinoco_handler_def; | 167 | static const struct iw_handler_def orinoco_handler_def; |
168 | static struct ethtool_ops orinoco_ethtool_ops; | 168 | static const struct ethtool_ops orinoco_ethtool_ops; |
169 | 169 | ||
170 | /********************************************************************/ | 170 | /********************************************************************/ |
171 | /* Data tables */ | 171 | /* Data tables */ |
@@ -4293,7 +4293,7 @@ static void orinoco_get_drvinfo(struct net_device *dev, | |||
4293 | "PCMCIA %p", priv->hw.iobase); | 4293 | "PCMCIA %p", priv->hw.iobase); |
4294 | } | 4294 | } |
4295 | 4295 | ||
4296 | static struct ethtool_ops orinoco_ethtool_ops = { | 4296 | static const struct ethtool_ops orinoco_ethtool_ops = { |
4297 | .get_drvinfo = orinoco_get_drvinfo, | 4297 | .get_drvinfo = orinoco_get_drvinfo, |
4298 | .get_link = ethtool_op_get_link, | 4298 | .get_link = ethtool_op_get_link, |
4299 | }; | 4299 | }; |