]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/omap-audio-aic23.c
[PATCH] ARM: OMAP: OSS AUDIO: Use struct platform driver and compilation fix
[linux-2.6-omap-h63xx.git] / sound / oss / omap-audio-aic23.c
index d58c6f5ecfdd2e2328bcfab26c66c998c837b8a5..1be0d768e465ec6f62ad0b0127298a3afb648d89 100644 (file)
@@ -224,7 +224,7 @@ static audio_state_t aic23_state = {
         .hw_remove      =  __exit_p(omap_aic23_remove),
         .hw_suspend     = omap_aic23_suspend,
         .hw_resume      = omap_aic23_resume,
-        .sem            = __MUTEX_INITIALIZER(aic23_state.sem),
+       .sem        = __SEMAPHORE_INIT(aic23_state.sem, 1),
 };
 
 /* This will be defined in the audio.h */