diff options
author | David S. Miller <davem@davemloft.net> | 2009-02-10 01:56:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-10 01:56:45 -0800 |
commit | 9034f77bad1e86c4b43e5f5739eb3b8f4878e947 (patch) | |
tree | 06c0da53d43e6ed1031611aba40a4575c1b536e7 /drivers/net/b44.c | |
parent | 149490f131ab532a3b9e8806249a0e730994cdf6 (diff) | |
download | linux-9034f77bad1e86c4b43e5f5739eb3b8f4878e947.tar.gz linux-9034f77bad1e86c4b43e5f5739eb3b8f4878e947.tar.bz2 linux-9034f77bad1e86c4b43e5f5739eb3b8f4878e947.zip |
netdev: Use __netdev_alloc_skb() instead of __dev_alloc_skb().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 92aaaa1ee9f1..2a51c7579976 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -973,7 +973,7 @@ static int b44_start_xmit(struct sk_buff *skb, struct net_device *dev) ssb_dma_unmap_single(bp->sdev, mapping, len, DMA_TO_DEVICE); - bounce_skb = __dev_alloc_skb(len, GFP_ATOMIC | GFP_DMA); + bounce_skb = __netdev_alloc_skb(dev, len, GFP_ATOMIC | GFP_DMA); if (!bounce_skb) goto err_out; |