diff options
Diffstat (limited to 'drivers/net/ethernet/davicom/dm9000.c')
-rw-r--r-- | drivers/net/ethernet/davicom/dm9000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c index 493cc6202081..42383ab5227e 100644 --- a/drivers/net/ethernet/davicom/dm9000.c +++ b/drivers/net/ethernet/davicom/dm9000.c | |||
@@ -1028,7 +1028,7 @@ dm9000_rx(struct net_device *dev) | |||
1028 | 1028 | ||
1029 | /* Move data from DM9000 */ | 1029 | /* Move data from DM9000 */ |
1030 | if (GoodPacket && | 1030 | if (GoodPacket && |
1031 | ((skb = dev_alloc_skb(RxLen + 4)) != NULL)) { | 1031 | ((skb = netdev_alloc_skb(dev, RxLen + 4)) != NULL)) { |
1032 | skb_reserve(skb, 2); | 1032 | skb_reserve(skb, 2); |
1033 | rdptr = (u8 *) skb_put(skb, RxLen - 4); | 1033 | rdptr = (u8 *) skb_put(skb, RxLen - 4); |
1034 | 1034 | ||