aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cirrus/ep93xx_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/cirrus/ep93xx_eth.c')
-rw-r--r--drivers/net/ethernet/cirrus/ep93xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cirrus/ep93xx_eth.c b/drivers/net/ethernet/cirrus/ep93xx_eth.c
index 4317af8d2f0a..c21e5ab8d1ef 100644
--- a/drivers/net/ethernet/cirrus/ep93xx_eth.c
+++ b/drivers/net/ethernet/cirrus/ep93xx_eth.c
@@ -282,7 +282,7 @@ static int ep93xx_rx(struct net_device *dev, int processed, int budget)
282 if (rstat0 & RSTAT0_CRCI) 282 if (rstat0 & RSTAT0_CRCI)
283 length -= 4; 283 length -= 4;
284 284
285 skb = dev_alloc_skb(length + 2); 285 skb = netdev_alloc_skb(dev, length + 2);
286 if (likely(skb != NULL)) { 286 if (likely(skb != NULL)) {
287 struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry]; 287 struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry];
288 skb_reserve(skb, 2); 288 skb_reserve(skb, 2);