]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c
net: get rid of SET_ETHTOOL_OPS
[mirror_ubuntu-jammy-kernel.git] / drivers / net / ethernet / atheros / atl1e / atl1e_ethtool.c
index 82b23861bf5598698f3a21232e37eaf693f83c6e..206e9b7be43123911b80ab1d84478bd4412079fe 100644 (file)
@@ -388,5 +388,5 @@ static const struct ethtool_ops atl1e_ethtool_ops = {
 
 void atl1e_set_ethtool_ops(struct net_device *netdev)
 {
-       SET_ETHTOOL_OPS(netdev, &atl1e_ethtool_ops);
+       netdev->ethtool_ops = &atl1e_ethtool_ops;
 }