#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"
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;