aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/ac97_codec.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-09-05 05:14:25 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-05 05:14:25 -0400
commita9053d0494d3c92807701c0f47df61d50c971581 (patch)
tree28cfb17d88d6491c5efd51e00e6937d57b1e81da /include/sound/ac97_codec.h
parent4dd9e909e3b834b66fd48d6eac50c6557cc50275 (diff)
parent6b39374a27eb4be7e9d82145ae270ba02ea90dc8 (diff)
downloadkernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.tar.gz
kernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.tar.bz2
kernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.zip
/spare/repo/libata-dev branch 'master'
Diffstat (limited to 'include/sound/ac97_codec.h')
-rw-r--r--include/sound/ac97_codec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index 1309c12b8f7..2857cf0472d 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -26,6 +26,7 @@
*/
#include <linux/bitops.h>
+#include <linux/device.h>
#include "pcm.h"
#include "control.h"
#include "info.h"
@@ -374,6 +375,9 @@
#define AC97_HAS_NO_PC_BEEP (1<<12) /* no PC Beep volume */
#define AC97_HAS_NO_VIDEO (1<<13) /* no Video volume */
#define AC97_HAS_NO_CD (1<<14) /* no CD volume */
+#define AC97_HAS_NO_MIC (1<<15) /* no MIC volume */
+#define AC97_HAS_NO_TONE (1<<16) /* no Tone volume */
+#define AC97_HAS_NO_STD_PCM (1<<17) /* no standard AC97 PCM volume and mute */
/* rates indexes */
#define AC97_RATES_FRONT_DAC 0
@@ -520,6 +524,7 @@ struct _snd_ac97 {
/* jack-sharing info */
unsigned char indep_surround;
unsigned char channel_mode;
+ struct device dev;
};
/* conditions */
@@ -599,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 */