]> err.no Git - linux-2.6/blobdiff - sound/core/init.c
[ALSA] semaphore -> mutex (core part)
[linux-2.6] / sound / core / init.c
index 75816688607c7ea7da5e52294f0c7e2491feb21a..17fbd6c14fb879c7f51edabd59ebac1d19e7a2c2 100644 (file)
@@ -145,7 +145,7 @@ struct snd_card *snd_card_new(int idx, const char *xid,
        init_waitqueue_head(&card->shutdown_sleep);
        INIT_WORK(&card->free_workq, snd_card_free_thread, card);
 #ifdef CONFIG_PM
-       init_MUTEX(&card->power_lock);
+       mutex_init(&card->power_lock);
        init_waitqueue_head(&card->power_sleep);
 #endif
        /* the control interface cannot be accessed from the user space until */