]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/omap-audio.h
[PATCH] ARM: OMAP: OSS: sem2mutex conversion
[linux-2.6-omap-h63xx.git] / sound / oss / omap-audio.h
index 58eff3130c36d7a8f1acf03a31a7cb3ad72dbf73..c039dee3b148c184dc0e14b539197012925792c4 100644 (file)
@@ -101,7 +101,7 @@ typedef struct {
        int (*hw_suspend) (void);
        int (*hw_resume) (void);
        struct pm_dev *pm_dev;
-       struct semaphore sem;   /* to protect against races in attach() */
+       struct mutex mutex;     /* to protect against races in attach() */
 } audio_state_t;
 
 #ifdef AUDIO_PM