aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-07-30 09:01:44 -0400
committerTakashi Iwai <tiwai@suse.de>2008-10-12 20:42:59 -0400
commit603c40199252f0c3b91fca02fd3283c4f8e55179 (patch)
treedbd8643b288a1d3088d6f5af30e58d699e2761b4 /sound/pci/hda/hda_codec.h
parentb2e1859745b783922533d29e3b03af29378a23f0 (diff)
ALSA: hda - Use generic array helpers
Use generic array helpers to simplify array handling in snd-hda-intel. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index b9b21766b73..77064b0cb82 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -657,10 +657,7 @@ struct hda_amp_info {
657 657
658struct hda_cache_rec { 658struct hda_cache_rec {
659 u16 hash[64]; /* hash table for index */ 659 u16 hash[64]; /* hash table for index */
660 unsigned int num_entries; /* number of assigned entries */ 660 struct snd_array buf; /* record entries */
661 unsigned int size; /* allocated size */
662 unsigned int record_size; /* record size (including header) */
663 void *buffer; /* hash table entries */
664}; 661};
665 662
666/* PCM callbacks */ 663/* PCM callbacks */