Revert "ag71xx: Switch from driver to kernel macro for NAPI_WEIGHT."
[openwrt/staging/chunkeey.git] / target / linux / ar71xx / files / drivers / net / ethernet / atheros / ag71xx / ag71xx_main.c
index e9a3d59fa3ee44becb48d9ad0ad644e4cc04dc46..566e9513d8b7c6ef101902ae7d281dcc1c233893 100644 (file)
@@ -1360,7 +1360,7 @@ static int ag71xx_probe(struct platform_device *pdev)
 
        memcpy(dev->dev_addr, pdata->mac_addr, ETH_ALEN);
 
-       netif_napi_add(dev, &ag->napi, ag71xx_poll, NAPI_POLL_WEIGHT);
+       netif_napi_add(dev, &ag->napi, ag71xx_poll, AG71XX_NAPI_WEIGHT);
 
        ag71xx_dump_regs(ag);