eth: switch to netif_napi_add_weight()
[sfrench/cifs-2.6.git] / drivers / net / ethernet / wiznet / w5100.c
index 4fd7c39e112337e01ffb688e6b970527596dde04..acd78120e53c9b5ef1e4fea5adee23eae15c6dbe 100644 (file)
@@ -1133,7 +1133,7 @@ int w5100_probe(struct device *dev, const struct w5100_ops *ops,
 
        ndev->netdev_ops = &w5100_netdev_ops;
        ndev->ethtool_ops = &w5100_ethtool_ops;
-       netif_napi_add(ndev, &priv->napi, w5100_napi_poll, 16);
+       netif_napi_add_weight(ndev, &priv->napi, w5100_napi_poll, 16);
 
        /* This chip doesn't support VLAN packets with normal MTU,
         * so disable VLAN for this device.