diff options
Diffstat (limited to 'drivers/net/ethernet/racal/ni5010.c')
-rw-r--r-- | drivers/net/ethernet/racal/ni5010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/racal/ni5010.c b/drivers/net/ethernet/racal/ni5010.c index 072810da9a37..807982220050 100644 --- a/drivers/net/ethernet/racal/ni5010.c +++ b/drivers/net/ethernet/racal/ni5010.c | |||
@@ -552,7 +552,7 @@ static void ni5010_rx(struct net_device *dev) | |||
552 | } | 552 | } |
553 | 553 | ||
554 | /* Malloc up new buffer. */ | 554 | /* Malloc up new buffer. */ |
555 | skb = dev_alloc_skb(i_pkt_size + 3); | 555 | skb = netdev_alloc_skb(dev, i_pkt_size + 3); |
556 | if (skb == NULL) { | 556 | if (skb == NULL) { |
557 | printk(KERN_WARNING "%s: Memory squeeze, dropping packet.\n", dev->name); | 557 | printk(KERN_WARNING "%s: Memory squeeze, dropping packet.\n", dev->name); |
558 | dev->stats.rx_dropped++; | 558 | dev->stats.rx_dropped++; |