summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/racal/ni5010.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/racal/ni5010.c')
-rw-r--r--drivers/net/ethernet/racal/ni5010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/racal/ni5010.c b/drivers/net/ethernet/racal/ni5010.c
index 072810da9a3..80798222005 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)
}
/* Malloc up new buffer. */
- skb = dev_alloc_skb(i_pkt_size + 3);
+ skb = netdev_alloc_skb(dev, i_pkt_size + 3);
if (skb == NULL) {
printk(KERN_WARNING "%s: Memory squeeze, dropping packet.\n", dev->name);
dev->stats.rx_dropped++;