diff options
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 | }; |