diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 03:00:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:13 -0800 |
commit | 910f5d202ce39cc78de1bbb679285a3167de9fb2 (patch) | |
tree | 2c5b55c2b141aaf016c459beb397fc702c41b967 /sound/oss/ymfpci.h | |
parent | 82d4dc5adb0055393248ad4ab8de392fac708a12 (diff) | |
download | kernel_samsung_smdk4412-910f5d202ce39cc78de1bbb679285a3167de9fb2.zip kernel_samsung_smdk4412-910f5d202ce39cc78de1bbb679285a3167de9fb2.tar.gz kernel_samsung_smdk4412-910f5d202ce39cc78de1bbb679285a3167de9fb2.tar.bz2 |
[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.h | 3 |
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 */ |