summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/util/hnddma.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2010-11-18 20:46:43 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-19 17:04:32 -0800
commitc303ecbda8b7c86975c4ba23f56b8cbe297cd060 (patch)
tree06108c011f6a68c2bd18f24022e0c56f0cdb315f /drivers/staging/brcm80211/util/hnddma.c
parent26361116d7c94984a5fbdc1b6a11555a9dc33cf0 (diff)
downloadop-kernel-dev-c303ecbda8b7c86975c4ba23f56b8cbe297cd060.zip
op-kernel-dev-c303ecbda8b7c86975c4ba23f56b8cbe297cd060.tar.gz
staging: brcm80211: replace PKTPUSH and PKTPULL macros with native skbuff calls
Replacing PKTPUSH by skb_push() call and PKTPULL by skb_pull() call to make it obvious what the operation is doing with the packet. Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Brett Rudley <brudley@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 a945156..7fdcdca 100644
--- a/drivers/staging/brcm80211/util/hnddma.c
+++ b/drivers/staging/brcm80211/util/hnddma.c
@@ -1110,7 +1110,7 @@ static bool BCMFASTPATH _dma_rxfill(dma_info_t *di)
}
/* reserve an extra headroom, if applicable */
if (extra_offset)
- PKTPULL(p, extra_offset);
+ skb_pull(p, extra_offset);
/* Do a cached write instead of uncached write since DMA_MAP
* will flush the cache.
OpenPOWER on IntegriCloud