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/ns83820.c | |
parent | 76fd85937097a0c2ec8ab23bf21dc10992d1c398 (diff) |
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ns83820.c')
-rw-r--r-- | drivers/net/ns83820.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c index ff76b81d5f3b..a05f6cbfdc0f 100644 --- a/drivers/net/ns83820.c +++ b/drivers/net/ns83820.c | |||
@@ -1273,7 +1273,7 @@ static u32 ns83820_get_link(struct net_device *ndev) | |||
1273 | return cfg & CFG_LNKSTS ? 1 : 0; | 1273 | return cfg & CFG_LNKSTS ? 1 : 0; |
1274 | } | 1274 | } |
1275 | 1275 | ||
1276 | static struct ethtool_ops ops = { | 1276 | static const struct ethtool_ops ops = { |
1277 | .get_drvinfo = ns83820_get_drvinfo, | 1277 | .get_drvinfo = ns83820_get_drvinfo, |
1278 | .get_link = ns83820_get_link | 1278 | .get_link = ns83820_get_link |
1279 | }; | 1279 | }; |