diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-07-24 00:31:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:37 -0400 |
commit | 7951ac91c7d45b61f54f1cdabc24b52b40785de6 (patch) | |
tree | faf56472419112ea4d82c8ea348e69cf3bf64ec4 /drivers/video/sa1100fb.h | |
parent | b91dbce56a8dbf312f6255d5121b295553d2b4db (diff) |
sa1100fb: convert ctrlr_sem in a mutex
The semaphore ctrlr_sem is used as a mutex. Convert it to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sa1100fb.h')
-rw-r--r-- | drivers/video/sa1100fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sa1100fb.h b/drivers/video/sa1100fb.h index f465b27ed860..86831db9a042 100644 --- a/drivers/video/sa1100fb.h +++ b/drivers/video/sa1100fb.h | |||
@@ -100,7 +100,7 @@ struct sa1100fb_info { | |||
100 | 100 | ||
101 | volatile u_char state; | 101 | volatile u_char state; |
102 | volatile u_char task_state; | 102 | volatile u_char task_state; |
103 | struct semaphore ctrlr_sem; | 103 | struct mutex ctrlr_lock; |
104 | wait_queue_head_t ctrlr_wait; | 104 | wait_queue_head_t ctrlr_wait; |
105 | struct work_struct task; | 105 | struct work_struct task; |
106 | 106 | ||