summaryrefslogtreecommitdiff
path: root/include/sound/opl3.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-01-16 18:31:42 +0300
committerJaroslav Kysela <perex@suse.cz>2006-03-22 12:24:57 +0300
commitef9f0a42db987e7e2df72289fb4522d24027786b (patch)
tree34f3ad0c1abdbeb6df5a1d5137db6b4f34695f5a /include/sound/opl3.h
parent1a60d4c5a0c4028559585a74e48593b16e1ca9b2 (diff)
downloadlinux-ef9f0a42db987e7e2df72289fb4522d24027786b.tar.xz
[ALSA] semaphore -> mutex (driver part)
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/opl3.h')
-rw-r--r--include/sound/opl3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/opl3.h b/include/sound/opl3.h
index 83392641cb47..444907166f97 100644
--- a/include/sound/opl3.h
+++ b/include/sound/opl3.h
@@ -53,6 +53,7 @@
#include "driver.h"
#include <linux/time.h>
+#include <linux/mutex.h>
#include "core.h"
#include "hwdep.h"
#include "timer.h"
@@ -312,7 +313,7 @@ struct snd_opl3 {
int sys_timer_status; /* system timer run status */
spinlock_t sys_timer_lock; /* Lock for system timer access */
#endif
- struct semaphore access_mutex; /* locking */
+ struct mutex access_mutex; /* locking */
};
/* opl3.c */