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>
This commit is contained in:
Matthias Kaehlcke
2008-07-23 21:31:16 -07:00
committed by Linus Torvalds
parent b91dbce56a
commit 7951ac91c7
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ struct sa1100fb_info {
volatile u_char state;
volatile u_char task_state;
struct semaphore ctrlr_sem;
struct mutex ctrlr_lock;
wait_queue_head_t ctrlr_wait;
struct work_struct task;