diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sc92031.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sc92031.c b/drivers/net/sc92031.c index 841bfa745301..f64a860029b7 100644 --- a/drivers/net/sc92031.c +++ b/drivers/net/sc92031.c | |||
@@ -796,7 +796,7 @@ static void _sc92031_rx_tasklet(struct net_device *dev) | |||
796 | 796 | ||
797 | rx_len -= rx_size_align + 4; | 797 | rx_len -= rx_size_align + 4; |
798 | 798 | ||
799 | skb = dev_alloc_skb(pkt_size + NET_IP_ALIGN); | 799 | skb = netdev_alloc_skb(dev, pkt_size + NET_IP_ALIGN); |
800 | if (unlikely(!skb)) { | 800 | if (unlikely(!skb)) { |
801 | if (printk_ratelimit()) | 801 | if (printk_ratelimit()) |
802 | printk(KERN_ERR "%s: Couldn't allocate a skb_buff for a packet of size %u\n", | 802 | printk(KERN_ERR "%s: Couldn't allocate a skb_buff for a packet of size %u\n", |