]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/net/ethernet/intel/igbvf/ethtool.c
net: get rid of SET_ETHTOOL_OPS
[mirror_ubuntu-zesty-kernel.git] / drivers / net / ethernet / intel / igbvf / ethtool.c
index 90eef07943f4d50bbd027646e170abca5abfb1a3..f58170bae18b8323c2b7c12424707907ff4bc70d 100644 (file)
@@ -476,5 +476,5 @@ static const struct ethtool_ops igbvf_ethtool_ops = {
 
 void igbvf_set_ethtool_ops(struct net_device *netdev)
 {
-       SET_ETHTOOL_OPS(netdev, &igbvf_ethtool_ops);
+       netdev->ethtool_ops = &igbvf_ethtool_ops;
 }