X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Femux_synth.h;h=b2d6b2acc7c7dd1350a7b511691aec9233fbf170;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=d8cb51b86c20c1347e0281a0c45b4c99b4206439;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/sound/emux_synth.h b/include/sound/emux_synth.h index d8cb51b86..b2d6b2acc 100644 --- a/include/sound/emux_synth.h +++ b/include/sound/emux_synth.h @@ -113,7 +113,7 @@ struct snd_emux { struct snd_emux_voice *voices; /* Voices (EMU 'channel') */ int use_time; /* allocation counter */ spinlock_t voice_lock; /* Lock for voice access */ - struct mutex register_mutex; + struct semaphore register_mutex; int client; /* For the sequencer client */ int ports[SNDRV_EMUX_MAX_PORTS]; /* The ports for this device */ struct snd_emux_port *portptrs[SNDRV_EMUX_MAX_PORTS];