summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>2016-03-12 14:03:09 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commitafb105549d4879018e45bbf77e76034237d8fc20 (patch)
tree88db96f715fc13211418a5fb83fbdd930178e4d2 /drivers/staging/most
parent7df7ee9be9801a7d0c73e9a4ef3e4912aef8b083 (diff)
downloadop-kernel-dev-afb105549d4879018e45bbf77e76034237d8fc20.zip
op-kernel-dev-afb105549d4879018e45bbf77e76034237d8fc20.tar.gz
Staging: most: Remove atomic_counter_t typedef
Remove atomic_counter_t typedef, use int instead. Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r--drivers/staging/most/hdm-dim2/dim2_hal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/most/hdm-dim2/dim2_hal.h b/drivers/staging/most/hdm-dim2/dim2_hal.h
index fc73d4f..9f8e880 100644
--- a/drivers/staging/most/hdm-dim2/dim2_hal.h
+++ b/drivers/staging/most/hdm-dim2/dim2_hal.h
@@ -42,14 +42,12 @@ struct dim_ch_state_t {
u16 done_buffers; /* Number of completed buffers */
};
-typedef int atomic_counter_t;
-
struct int_ch_state {
/* changed only in interrupt context */
- volatile atomic_counter_t request_counter;
+ volatile int request_counter;
/* changed only in task context */
- volatile atomic_counter_t service_counter;
+ volatile int service_counter;
u8 idx1;
u8 idx2;
OpenPOWER on IntegriCloud