Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6-block.git] / drivers / net / xen-netback / interface.c
index 20e9defa10606d7d54a0a5412eb93365ce748f5c..53cdcdf3dfa13a1c17fa663bd3da2f706c6e8967 100644 (file)
@@ -362,7 +362,7 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid,
                NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
                NETIF_F_TSO | NETIF_F_TSO6;
        dev->features = dev->hw_features | NETIF_F_RXCSUM;
-       SET_ETHTOOL_OPS(dev, &xenvif_ethtool_ops);
+       dev->ethtool_ops = &xenvif_ethtool_ops;
 
        dev->tx_queue_len = XENVIF_QUEUE_LENGTH;