X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Frawmidi.h;h=d19bddfbf9953b4d36d503cd1169e44a99d53888;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=584e73dd479319ea5034282ab107aa9d36e4a621;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h index 584e73dd4..d19bddfbf 100644 --- a/include/sound/rawmidi.h +++ b/include/sound/rawmidi.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #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;