summaryrefslogtreecommitdiff
path: root/sound/oss/ymfpci.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 11:00:39 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 15:38:13 (GMT)
commit910f5d202ce39cc78de1bbb679285a3167de9fb2 (patch)
tree2c5b55c2b141aaf016c459beb397fc702c41b967 /sound/oss/ymfpci.h
parent82d4dc5adb0055393248ad4ab8de392fac708a12 (diff)
downloadlinux-fsl-qoriq-910f5d202ce39cc78de1bbb679285a3167de9fb2.tar.xz
[PATCH] sem2mutex: sound/oss/
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/ymfpci.h')
-rw-r--r--sound/oss/ymfpci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/oss/ymfpci.h b/sound/oss/ymfpci.h
index f810a10..ac1785f 100644
--- a/sound/oss/ymfpci.h
+++ b/sound/oss/ymfpci.h
@@ -22,6 +22,7 @@
*
*/
#include <linux/config.h>
+#include <linux/mutex.h>
/*
* Direct registers
@@ -279,7 +280,7 @@ struct ymf_unit {
/* soundcore stuff */
int dev_audio;
- struct semaphore open_sem;
+ struct mutex open_mutex;
struct list_head ymf_devs;
struct list_head states; /* List of states for this unit */