aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc9194.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/smsc/smc9194.c')
-rw-r--r--drivers/net/ethernet/smsc/smc9194.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc9194.c b/drivers/net/ethernet/smsc/smc9194.c
index 4e45094efb18..50823da9dc1e 100644
--- a/drivers/net/ethernet/smsc/smc9194.c
+++ b/drivers/net/ethernet/smsc/smc9194.c
@@ -1222,7 +1222,7 @@ static void smc_rcv(struct net_device *dev)
1222 if ( status & RS_MULTICAST ) 1222 if ( status & RS_MULTICAST )
1223 dev->stats.multicast++; 1223 dev->stats.multicast++;
1224 1224
1225 skb = dev_alloc_skb( packet_length + 5); 1225 skb = netdev_alloc_skb(dev, packet_length + 5);
1226 1226
1227 if ( skb == NULL ) { 1227 if ( skb == NULL ) {
1228 printk(KERN_NOTICE CARDNAME ": Low memory, packet dropped.\n"); 1228 printk(KERN_NOTICE CARDNAME ": Low memory, packet dropped.\n");