Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / sound / oss / ymfpci.h
index f810a10..ac1785f 100644 (file)
@@ -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 */