]> err.no Git - linux-2.6/blobdiff - include/sound/ac97_codec.h
[PATCH] fix send_sigqueue() vs thread exit race
[linux-2.6] / include / sound / ac97_codec.h
index cbe72e06c469fe2e0ce60d6795ec38717bb3efd1..2857cf0472df02116ff7e1c82ddc4a8906752752 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <linux/bitops.h>
+#include <linux/device.h>
 #include "pcm.h"
 #include "control.h"
 #include "info.h"
@@ -523,6 +524,7 @@ struct _snd_ac97 {
        /* jack-sharing info */
        unsigned char indep_surround;
        unsigned char channel_mode;
+       struct device dev;
 };
 
 /* conditions */
@@ -602,4 +604,8 @@ struct ac97_enum {
        unsigned short mask;
        const char **texts;
 };
+
+/* ad hoc AC97 device driver access */
+extern struct bus_type ac97_bus_type;
+
 #endif /* __SOUND_AC97_CODEC_H */