Staging: w35und: merge struct wb35_adapter to struct wbsoft_priv
[firefly-linux-kernel-4.4.55.git] / drivers / staging / winbond / rxisr.c
index f5c98d915c7b61fa1492a35fd3574182fb566171..d591003a38ec1b999589b7c6be4e8a7e2df7b1f6 100644 (file)
@@ -1,19 +1,19 @@
 #include "os_common.h"
-#include "adapter.h"
+#include "core.h"
 
 static void RxTimerHandler(unsigned long data)
 {
        WARN_ON(1);
 }
 
-void vRxTimerInit(struct wb35_adapter *adapter)
+void vRxTimerInit(struct wbsoft_priv *adapter)
 {
        init_timer(&adapter->Mds.timer);
        adapter->Mds.timer.function = RxTimerHandler;
        adapter->Mds.timer.data = (unsigned long) adapter;
 }
 
-void vRxTimerStart(struct wb35_adapter *adapter, int timeout_value)
+void vRxTimerStart(struct wbsoft_priv *adapter, int timeout_value)
 {
        if (timeout_value < MIN_TIMEOUT_VAL)
                timeout_value = MIN_TIMEOUT_VAL;
@@ -22,7 +22,7 @@ void vRxTimerStart(struct wb35_adapter *adapter, int timeout_value)
        add_timer(&adapter->Mds.timer);
 }
 
-void vRxTimerStop(struct wb35_adapter *adapter)
+void vRxTimerStop(struct wbsoft_priv *adapter)
 {
        del_timer_sync(&adapter->Mds.timer);
 }