aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/seeq/ether3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq/ether3.c')
-rw-r--r--drivers/net/ethernet/seeq/ether3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c
index 893c880dadf0..7b819bd8c416 100644
--- a/drivers/net/ethernet/seeq/ether3.c
+++ b/drivers/net/ethernet/seeq/ether3.c
@@ -643,7 +643,7 @@ if (next_ptr < RX_START || next_ptr >= RX_END) {
if (next_ptr <= this_ptr)
length += RX_END - RX_START;
- skb = dev_alloc_skb(length + 2);
+ skb = netdev_alloc_skb(dev, length + 2);
if (skb) {
unsigned char *buf;