diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-29 14:10:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 16:51:45 -0500 |
commit | 44e8541c5e14b40a773e830df339eddbcd0cb7ec (patch) | |
tree | d943f74f6585b3755ee35ce1b6ea5e289c29d6d0 /drivers/staging/winbond/mds_s.h | |
parent | deee7c8164e62690aefefb3503bc4c4672b3e020 (diff) |
Staging: w35und: remove atomic op wrappers
Use the kernel provided atomic op functions and remove the OS_ATOMIC and
related wrapper macros.
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/mds_s.h')
-rw-r--r-- | drivers/staging/winbond/mds_s.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/winbond/mds_s.h b/drivers/staging/winbond/mds_s.h index ac1875f6485..e1d373e03c6 100644 --- a/drivers/staging/winbond/mds_s.h +++ b/drivers/staging/winbond/mds_s.h | |||
@@ -96,9 +96,9 @@ typedef struct _MDS | |||
96 | u8 ScanTxPause; //data Tx pause because the scanning is progressing, but probe request Tx won't. | 96 | u8 ScanTxPause; //data Tx pause because the scanning is progressing, but probe request Tx won't. |
97 | u8 TxPause;//For pause the Mds_Tx modult | 97 | u8 TxPause;//For pause the Mds_Tx modult |
98 | 98 | ||
99 | OS_ATOMIC TxThreadCount;//For thread counting 931130.4.v | 99 | atomic_t TxThreadCount;//For thread counting 931130.4.v |
100 | //950301 delete due to HW | 100 | //950301 delete due to HW |
101 | // OS_ATOMIC TxConcurrentCount;//931130.4.w | 101 | // atomic_t TxConcurrentCount;//931130.4.w |
102 | 102 | ||
103 | u16 TxResult[ ((MAX_USB_TX_DESCRIPTOR + 1) & ~0x01) ];//Collect the sending result of Mpdu | 103 | u16 TxResult[ ((MAX_USB_TX_DESCRIPTOR + 1) & ~0x01) ];//Collect the sending result of Mpdu |
104 | 104 | ||