summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/mds_s.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-29 18:10:32 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 21:51:45 (GMT)
commit44e8541c5e14b40a773e830df339eddbcd0cb7ec (patch)
treed943f74f6585b3755ee35ce1b6ea5e289c29d6d0 /drivers/staging/winbond/mds_s.h
parentdeee7c8164e62690aefefb3503bc4c4672b3e020 (diff)
downloadlinux-fsl-qoriq-44e8541c5e14b40a773e830df339eddbcd0cb7ec.tar.xz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/winbond/mds_s.h b/drivers/staging/winbond/mds_s.h
index ac1875f..e1d373e 100644
--- a/drivers/staging/winbond/mds_s.h
+++ b/drivers/staging/winbond/mds_s.h
@@ -96,9 +96,9 @@ typedef struct _MDS
u8 ScanTxPause; //data Tx pause because the scanning is progressing, but probe request Tx won't.
u8 TxPause;//For pause the Mds_Tx modult
- OS_ATOMIC TxThreadCount;//For thread counting 931130.4.v
+ atomic_t TxThreadCount;//For thread counting 931130.4.v
//950301 delete due to HW
-// OS_ATOMIC TxConcurrentCount;//931130.4.w
+// atomic_t TxConcurrentCount;//931130.4.w
u16 TxResult[ ((MAX_USB_TX_DESCRIPTOR + 1) & ~0x01) ];//Collect the sending result of Mpdu