Commit afb10554 authored by PrasannaKumar Muralidharan's avatar PrasannaKumar Muralidharan Committed by Greg Kroah-Hartman

Staging: most: Remove atomic_counter_t typedef

Remove atomic_counter_t typedef, use int instead.
Signed-off-by: default avatarPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7df7ee9b
...@@ -42,14 +42,12 @@ struct dim_ch_state_t { ...@@ -42,14 +42,12 @@ struct dim_ch_state_t {
u16 done_buffers; /* Number of completed buffers */ u16 done_buffers; /* Number of completed buffers */
}; };
typedef int atomic_counter_t;
struct int_ch_state { struct int_ch_state {
/* changed only in interrupt context */ /* changed only in interrupt context */
volatile atomic_counter_t request_counter; volatile int request_counter;
/* changed only in task context */ /* changed only in task context */
volatile atomic_counter_t service_counter; volatile int service_counter;
u8 idx1; u8 idx1;
u8 idx2; u8 idx2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment