aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/winbond/wbhal_s.h
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-10-29 20:10:32 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:51:45 -0800
commit44e8541c5e14b40a773e830df339eddbcd0cb7ec (patch)
treed943f74f6585b3755ee35ce1b6ea5e289c29d6d0 /drivers/staging/winbond/wbhal_s.h
parentdeee7c8164e62690aefefb3503bc4c4672b3e020 (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/wbhal_s.h')
-rw-r--r--drivers/staging/winbond/wbhal_s.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
index 2d3adfc3fcb..4eeb08926e2 100644
--- a/drivers/staging/winbond/wbhal_s.h
+++ b/drivers/staging/winbond/wbhal_s.h
@@ -570,7 +570,7 @@ typedef struct _HW_DATA_T
u32 RxByteCountLast;
u32 TxByteCountLast;
- s32 SurpriseRemoveCount;
+ atomic_t SurpriseRemoveCount;
// For global timer
u32 time_count;//TICK_TIME_100ms 1 = 100ms