]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/net/ethernet/ibm/ehea/ehea_ethtool.c
net: get rid of SET_ETHTOOL_OPS
[mirror_ubuntu-jammy-kernel.git] / drivers / net / ethernet / ibm / ehea / ehea_ethtool.c
index 95837b99a464865a7ca47273cb49ce9b3200136b..6055e3eaf49c860eff05450d4135f11b9d52a0a4 100644 (file)
@@ -278,5 +278,5 @@ static const struct ethtool_ops ehea_ethtool_ops = {
 
 void ehea_set_ethtool_ops(struct net_device *netdev)
 {
-       SET_ETHTOOL_OPS(netdev, &ehea_ethtool_ops);
+       netdev->ethtool_ops = &ehea_ethtool_ops;
 }