aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/util/hnddma.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2010-12-04 16:35:42 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-06 16:08:30 -0800
commitf09e02322ed36feafba6e3a6373e0bcd93730ce6 (patch)
tree47e0d3511d53732446ed546b4e18e3c779274124 /drivers/staging/brcm80211/util/hnddma.c
parentstaging: brcm80211: replaced wlc_info_t by struct wlc_info. (diff)
downloadlinux-dev-f09e02322ed36feafba6e3a6373e0bcd93730ce6.tar.xz
linux-dev-f09e02322ed36feafba6e3a6373e0bcd93730ce6.zip
staging: brcm80211: remove macro usage for sk_buff allocation
PKTGET macro calls osl_pktget. This function has been renamed to pkt_buf_get_skb as it comprises of functionality additional to dev_alloc_skb function and to get rid of the OSL concept in this driver. Reviewed-by: Brett Rudley <brudley@broadcom.com> Reviewed-by: Dowan Kim <dowan@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/util/hnddma.c')
-rw-r--r--drivers/staging/brcm80211/util/hnddma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/util/hnddma.c b/drivers/staging/brcm80211/util/hnddma.c
index 0c8a1d25d98b..a7805a88b5fe 100644
--- a/drivers/staging/brcm80211/util/hnddma.c
+++ b/drivers/staging/brcm80211/util/hnddma.c
@@ -1094,7 +1094,7 @@ static bool BCMFASTPATH _dma_rxfill(dma_info_t *di)
size to be allocated
*/
- p = osl_pktget(di->osh, di->rxbufsize + extra_offset);
+ p = pkt_buf_get_skb(di->osh, di->rxbufsize + extra_offset);
if (p == NULL) {
DMA_ERROR(("%s: dma_rxfill: out of rxbufs\n",