diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ac97_codec.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index 9036d25e1bac..dee766c17e9c 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h | |||
@@ -433,6 +433,12 @@ struct snd_ac97_bus { | |||
433 | struct snd_info_entry *proc; | 433 | struct snd_info_entry *proc; |
434 | }; | 434 | }; |
435 | 435 | ||
436 | /* static resolution table */ | ||
437 | struct snd_ac97_res_table { | ||
438 | unsigned short reg; /* register */ | ||
439 | unsigned short bits; /* resolution bitmask */ | ||
440 | }; | ||
441 | |||
436 | struct snd_ac97_template { | 442 | struct snd_ac97_template { |
437 | void *private_data; | 443 | void *private_data; |
438 | void (*private_free) (struct snd_ac97 *ac97); | 444 | void (*private_free) (struct snd_ac97 *ac97); |
@@ -442,12 +448,7 @@ struct snd_ac97_template { | |||
442 | unsigned int scaps; /* driver capabilities */ | 448 | unsigned int scaps; /* driver capabilities */ |
443 | unsigned int limited_regs; /* allow limited registers only */ | 449 | unsigned int limited_regs; /* allow limited registers only */ |
444 | DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */ | 450 | DECLARE_BITMAP(reg_accessed, 0x80); /* bit flags */ |
445 | }; | 451 | const struct snd_ac97_res_table *res_table; /* static resolution */ |
446 | |||
447 | /* static resolution table */ | ||
448 | struct snd_ac97_res_table { | ||
449 | unsigned short reg; /* register */ | ||
450 | unsigned short bits; /* resolution bitmask */ | ||
451 | }; | 452 | }; |
452 | 453 | ||
453 | struct snd_ac97 { | 454 | struct snd_ac97 { |