summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/i825xx/3c505.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/i825xx/3c505.c')
-rw-r--r--drivers/net/ethernet/i825xx/3c505.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/3c505.c b/drivers/net/ethernet/i825xx/3c505.c
index ba82a266051d..6a5c21b82c51 100644
--- a/drivers/net/ethernet/i825xx/3c505.c
+++ b/drivers/net/ethernet/i825xx/3c505.c
@@ -583,7 +583,7 @@ static void receive_packet(struct net_device *dev, int len)
unsigned long flags;
rlen = (len + 1) & ~1;
- skb = dev_alloc_skb(rlen + 2);
+ skb = netdev_alloc_skb(dev, rlen + 2);
if (!skb) {
pr_warning("%s: memory squeeze, dropping packet\n", dev->name);