include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / winbond / wb35rx.c
index b905e7b43a19877e576415de8c02ed01ea13a0f6..d7b57e62db08caff270ba800c0605ce4daed3a2c 100644 (file)
@@ -9,6 +9,7 @@
 //
 //============================================================================
 #include <linux/usb.h>
+#include <linux/slab.h>
 
 #include "core.h"
 #include "sysdef.h"
@@ -44,7 +45,7 @@ static void packet_came(struct ieee80211_hw *hw, char *pRxBufferAddress, int Pac
        ieee80211_rx_irqsafe(hw, skb);
 }
 
-static void Wb35Rx_adjust(PDESCRIPTOR pRxDes)
+static void Wb35Rx_adjust(struct wb35_descriptor *pRxDes)
 {
        u32 *   pRxBufferAddress;
        u32     DecryptionMethod;
@@ -84,7 +85,7 @@ static u16 Wb35Rx_indicate(struct ieee80211_hw *hw)
 {
        struct wbsoft_priv *priv = hw->priv;
        struct hw_data * pHwData = &priv->sHwData;
-       DESCRIPTOR      RxDes;
+       struct wb35_descriptor  RxDes;
        struct wb35_rx *pWb35Rx = &pHwData->Wb35Rx;
        u8 *            pRxBufferAddress;
        u16             PacketSize;