drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -1071,7 +1071,7 @@ static u32 bigmac_get_link(struct net_device *dev)
|
||||
return (bp->sw_bmsr & BMSR_LSTATUS);
|
||||
}
|
||||
|
||||
static struct ethtool_ops bigmac_ethtool_ops = {
|
||||
static const struct ethtool_ops bigmac_ethtool_ops = {
|
||||
.get_drvinfo = bigmac_get_drvinfo,
|
||||
.get_link = bigmac_get_link,
|
||||
};
|
||||
|
Reference in New Issue
Block a user