drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -1273,7 +1273,7 @@ static u32 ns83820_get_link(struct net_device *ndev)
|
||||
return cfg & CFG_LNKSTS ? 1 : 0;
|
||||
}
|
||||
|
||||
static struct ethtool_ops ops = {
|
||||
static const struct ethtool_ops ops = {
|
||||
.get_drvinfo = ns83820_get_drvinfo,
|
||||
.get_link = ns83820_get_link
|
||||
};
|
||||
|
Reference in New Issue
Block a user