]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ethernet/ti/davinci_emac.c
Merge branch 'fixed_phy'
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / ti / davinci_emac.c
index 8f0e69ce07ca3e03cfbf4cf1b22c92c9af27beeb..e76eae541151a164b8a842dd7c1f9b9602d01202 100644 (file)
@@ -1980,7 +1980,7 @@ static int davinci_emac_probe(struct platform_device *pdev)
        }
 
        ndev->netdev_ops = &emac_netdev_ops;
-       SET_ETHTOOL_OPS(ndev, &ethtool_ops);
+       ndev->ethtool_ops = &ethtool_ops;
        netif_napi_add(ndev, &priv->napi, emac_poll, EMAC_POLL_WEIGHT);
 
        /* register the network device */