]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/wilc1000/wilc_wlan_if.h
staging: wilc1000: remove mutex_lock/unlock wrappers
[karo-tx-linux.git] / drivers / staging / wilc1000 / wilc_wlan_if.h
index 7787e8f803ee1419ec8d22a08a91241b09891b50..40050d7a991c831419681160bb5ecfefd99e0d51 100644 (file)
@@ -90,8 +90,6 @@ typedef struct {
        void (*os_unlock)(void *);
        int (*os_wait)(void *, u32);
        void (*os_signal)(void *);
-       void (*os_enter_cs)(void *);
-       void (*os_leave_cs)(void *);
 
        /*Added by Amr - BugID_4720*/
        void (*os_spin_lock)(void *, unsigned long *);
@@ -137,7 +135,7 @@ typedef struct {
 typedef struct {
        void *os_private;
 
-       void *hif_critical_section;
+       struct mutex *hif_critical_section;
 
        uint32_t tx_buffer_size;
        void *txq_critical_section;