]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/sound/hwdep.h
[ALSA] version 1.0.14
[karo-tx-linux.git] / include / sound / hwdep.h
index 04b20bc4f144cd5ef837acd1a815f4f3d446bf9c..94c387b5d72429a7d5086849c558ec5df5f8566e 100644 (file)
@@ -43,6 +43,7 @@ struct snd_hwdep_ops {
 
 struct snd_hwdep {
        struct snd_card *card;
+       struct list_head list;
        int device;
        char id[32];
        char name[80];
@@ -59,7 +60,7 @@ struct snd_hwdep {
        void *private_data;
        void (*private_free) (struct snd_hwdep *hwdep);
 
-       struct semaphore open_mutex;
+       struct mutex open_mutex;
        int used;
        unsigned int dsp_loaded;
        unsigned int exclusive: 1;