]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/sound/ac97_codec.h
[ALSA] ac97 - Clean up obsolete workarounds
[karo-tx-linux.git] / include / sound / ac97_codec.h
index dee766c17e9cdc15d8400cefa44c4017f9f0f833..b45a7371274806f2c058bc7a43cb7c59a3e82124 100644 (file)
@@ -446,8 +446,6 @@ struct snd_ac97_template {
        unsigned short num;     /* number of codec: 0 = primary, 1 = secondary */
        unsigned short addr;    /* physical address of codec [0-3] */
        unsigned int scaps;     /* driver capabilities */
-       unsigned int limited_regs; /* allow limited registers only */
-       DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */
        const struct snd_ac97_res_table *res_table;     /* static resolution */
 };
 
@@ -477,7 +475,6 @@ struct snd_ac97 {
        unsigned int rates[6];  /* see AC97_RATES_* defines */
        unsigned int spdif_status;
        unsigned short regs[0x80]; /* register cache */
-       unsigned int limited_regs; /* allow limited registers only */
        DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */
        union {                 /* vendor specific code */
                struct {