diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2008-02-07 03:15:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:25 -0500 |
commit | ae5e29798afa2b11a01fcb4fab8b58fee47fe155 (patch) | |
tree | 788f3eb9a8cc173219720eb58c1fb54f170c6b1f /drivers/char/mbcs.h | |
parent | 46bca69682731104b42f99da763b9a08a0574291 (diff) |
MBCS: convert dmareadlock to mutex
MBCS: Convert the semaphore dmareadlock to the mutex API
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mbcs.h')
-rw-r--r-- | drivers/char/mbcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mbcs.h b/drivers/char/mbcs.h index b05435145d72..ba671589f4cb 100644 --- a/drivers/char/mbcs.h +++ b/drivers/char/mbcs.h | |||
@@ -538,7 +538,7 @@ struct mbcs_soft { | |||
538 | atomic_t dmaread_done; | 538 | atomic_t dmaread_done; |
539 | atomic_t algo_done; | 539 | atomic_t algo_done; |
540 | struct mutex dmawritelock; | 540 | struct mutex dmawritelock; |
541 | struct semaphore dmareadlock; | 541 | struct mutex dmareadlock; |
542 | struct mutex algolock; | 542 | struct mutex algolock; |
543 | }; | 543 | }; |
544 | 544 | ||