diff options
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 71fa0bee8d36..bcb6a029a0a8 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -809,7 +809,7 @@ static int b44_rx(struct b44 *bp, int budget) | |||
809 | struct sk_buff *copy_skb; | 809 | struct sk_buff *copy_skb; |
810 | 810 | ||
811 | b44_recycle_rx(bp, cons, bp->rx_prod); | 811 | b44_recycle_rx(bp, cons, bp->rx_prod); |
812 | copy_skb = dev_alloc_skb(len + 2); | 812 | copy_skb = netdev_alloc_skb(bp->dev, len + 2); |
813 | if (copy_skb == NULL) | 813 | if (copy_skb == NULL) |
814 | goto drop_it_no_recycle; | 814 | goto drop_it_no_recycle; |
815 | 815 | ||