summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/ni65.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/amd/ni65.c')
-rw-r--r--drivers/net/ethernet/amd/ni65.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/ni65.c b/drivers/net/ethernet/amd/ni65.c
index 735c213798b1..013b65108536 100644
--- a/drivers/net/ethernet/amd/ni65.c
+++ b/drivers/net/ethernet/amd/ni65.c
@@ -1089,7 +1089,7 @@ static void ni65_recv_intr(struct net_device *dev,int csr0)
if (skb)
skb_reserve(skb,16);
#else
- struct sk_buff *skb = dev_alloc_skb(len+2);
+ struct sk_buff *skb = netdev_alloc_skb(dev, len + 2);
#endif
if(skb)
{