]> err.no Git - linux-2.6/blobdiff - include/sound/hwdep.h
[NETLINK]: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace.
[linux-2.6] / 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;