]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/brcm80211/brcmfmac/dhd_common.c
staging: brcm80211: change packet buffer type to native struct sk_buff
[mv-sheeva.git] / drivers / staging / brcm80211 / brcmfmac / dhd_common.c
index 703188fc28ec9f26a87b6aeed82ac6d5f720580b..e212abb8a357825335847e716a1f29a26e5c788e 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <bcmdefs.h>
+#include <linux/netdevice.h>
 #include <osl.h>
 #include <bcmutils.h>
 #include <bcmendian.h>
@@ -326,9 +327,10 @@ void dhd_store_conn_status(u32 event, u32 status, u32 reason)
        }
 }
 
-bool dhd_prec_enq(dhd_pub_t *dhdp, struct pktq *q, void *pkt, int prec)
+bool dhd_prec_enq(dhd_pub_t *dhdp, struct pktq *q, struct sk_buff *pkt,
+                 int prec)
 {
-       void *p;
+       struct sk_buff *p;
        int eprec = -1;         /* precedence to evict from */
        bool discard_oldest;