drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@ -1029,7 +1029,7 @@ static u32 veth_get_link(struct net_device *dev)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static struct ethtool_ops ops = {
|
||||
static const struct ethtool_ops ops = {
|
||||
.get_drvinfo = veth_get_drvinfo,
|
||||
.get_settings = veth_get_settings,
|
||||
.get_link = veth_get_link,
|
||||
|
Reference in New Issue
Block a user