aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/i825xx/ether1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/i825xx/ether1.c')
-rw-r--r--drivers/net/ethernet/i825xx/ether1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/i825xx/ether1.c b/drivers/net/ethernet/i825xx/ether1.c
index 42e90a97c7a..067db3f13e9 100644
--- a/drivers/net/ethernet/i825xx/ether1.c
+++ b/drivers/net/ethernet/i825xx/ether1.c
@@ -48,7 +48,6 @@
#include <linux/skbuff.h>
#include <linux/bitops.h>
-#include <asm/system.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/ecard.h>
@@ -867,7 +866,7 @@ ether1_recv_done (struct net_device *dev)
struct sk_buff *skb;
length = (length + 1) & ~1;
- skb = dev_alloc_skb (length + 2);
+ skb = netdev_alloc_skb(dev, length + 2);
if (skb) {
skb_reserve (skb, 2);