summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/seeq/seeq8005.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq/seeq8005.c')
-rw-r--r--drivers/net/ethernet/seeq/seeq8005.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/seeq/seeq8005.c b/drivers/net/ethernet/seeq/seeq8005.c
index 60561451789b..798990774446 100644
--- a/drivers/net/ethernet/seeq/seeq8005.c
+++ b/drivers/net/ethernet/seeq/seeq8005.c
@@ -548,7 +548,7 @@ static void seeq8005_rx(struct net_device *dev)
struct sk_buff *skb;
unsigned char *buf;
- skb = dev_alloc_skb(pkt_len);
+ skb = netdev_alloc_skb(dev, pkt_len);
if (skb == NULL) {
printk("%s: Memory squeeze, dropping packet.\n", dev->name);
dev->stats.rx_dropped++;