diff options
author | Pradeep A. Dalvi <netdev@pradeepdalvi.com> | 2012-02-06 06:16:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-08 18:46:38 -0500 |
commit | dae2e9f430c46c29e3f771110094bd3da3625aa4 (patch) | |
tree | b78b2671d2566ea5795349e5dadf8ef786b507f5 /drivers/net/ethernet/toshiba | |
parent | c4062dfc425e94290ac427a98d6b4721dd2bc91f (diff) |
netdev: ethernet dev_alloc_skb to netdev_alloc_skb
Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet
- Removed extra skb->dev = dev after netdev_alloc_skb
Signed-off-by: Pradeep A Dalvi <netdev@pradeepdalvi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/toshiba')
-rw-r--r-- | drivers/net/ethernet/toshiba/tc35815.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/toshiba/tc35815.c b/drivers/net/ethernet/toshiba/tc35815.c index f5ac603d5608..d117ad475c3e 100644 --- a/drivers/net/ethernet/toshiba/tc35815.c +++ b/drivers/net/ethernet/toshiba/tc35815.c | |||
@@ -453,7 +453,7 @@ static struct sk_buff *alloc_rxbuf_skb(struct net_device *dev, | |||
453 | dma_addr_t *dma_handle) | 453 | dma_addr_t *dma_handle) |
454 | { | 454 | { |
455 | struct sk_buff *skb; | 455 | struct sk_buff *skb; |
456 | skb = dev_alloc_skb(RX_BUF_SIZE); | 456 | skb = netdev_alloc_skb(dev, RX_BUF_SIZE); |
457 | if (!skb) | 457 | if (!skb) |
458 | return NULL; | 458 | return NULL; |
459 | *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, | 459 | *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, |