aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-03-15 08:08:20 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:38:53 -0500
commit0a589d80191471754e6f6cab3015a879bca2f7d2 (patch)
tree63db0413b3f1f6a18e67904ad3143f99f39ca2f3 /include/sound
parenta23446c085faed6c1c90fba5cdd21d6990871750 (diff)
[ALSA] ac97 - Clean up obsolete workarounds
Modules: AC97 Codec Clean up obsolete workarounds provided only for nm256. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ac97_codec.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index dee766c17e9c..b45a73712748 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -446,8 +446,6 @@ struct snd_ac97_template {
446 unsigned short num; /* number of codec: 0 = primary, 1 = secondary */ 446 unsigned short num; /* number of codec: 0 = primary, 1 = secondary */
447 unsigned short addr; /* physical address of codec [0-3] */ 447 unsigned short addr; /* physical address of codec [0-3] */
448 unsigned int scaps; /* driver capabilities */ 448 unsigned int scaps; /* driver capabilities */
449 unsigned int limited_regs; /* allow limited registers only */
450 DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */
451 const struct snd_ac97_res_table *res_table; /* static resolution */ 449 const struct snd_ac97_res_table *res_table; /* static resolution */
452}; 450};
453 451
@@ -477,7 +475,6 @@ struct snd_ac97 {
477 unsigned int rates[6]; /* see AC97_RATES_* defines */ 475 unsigned int rates[6]; /* see AC97_RATES_* defines */
478 unsigned int spdif_status; 476 unsigned int spdif_status;
479 unsigned short regs[0x80]; /* register cache */ 477 unsigned short regs[0x80]; /* register cache */
480 unsigned int limited_regs; /* allow limited registers only */
481 DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */ 478 DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */
482 union { /* vendor specific code */ 479 union { /* vendor specific code */
483 struct { 480 struct {