diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2008-07-23 21:31:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:37 -0700 |
commit | b91dbce56a8dbf312f6255d5121b295553d2b4db (patch) | |
tree | 77c3a0e93f4cca9b2c4ef2b73bce66acc792f60c /drivers/video/pxafb.h | |
parent | 14aefd1b49ff3bd13caa37fb06bd53488d5d1486 (diff) | |
download | linux-3.10-b91dbce56a8dbf312f6255d5121b295553d2b4db.tar.gz linux-3.10-b91dbce56a8dbf312f6255d5121b295553d2b4db.tar.bz2 linux-3.10-b91dbce56a8dbf312f6255d5121b295553d2b4db.zip |
pxafb: 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>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/pxafb.h')
-rw-r--r-- | drivers/video/pxafb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxafb.h b/drivers/video/pxafb.h index 8238dc82642..31541b86f13 100644 --- a/drivers/video/pxafb.h +++ b/drivers/video/pxafb.h @@ -106,7 +106,7 @@ struct pxafb_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; |