linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / sound / rawmidi.h
index 584e73d..d19bddf 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
 #include <linux/wait.h>
-#include <linux/mutex.h>
+#include <asm/semaphore.h>
 
 #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)
 #include "seq_device.h"
@@ -130,7 +130,7 @@ struct snd_rawmidi {
        void *private_data;
        void (*private_free) (struct snd_rawmidi *rmidi);
 
-       struct mutex open_mutex;
+       struct semaphore open_mutex;
        wait_queue_head_t open_wait;
 
        struct snd_info_entry *dev;