diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-30 09:01:45 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-12 20:43:00 -0400 |
commit | f44ac8378d3d84b912b34f08afaff64182ee1b41 (patch) | |
tree | eb89207bbb0697655d6b18480d106106c2357295 /sound/pci/hda/hda_codec.h | |
parent | 603c40199252f0c3b91fca02fd3283c4f8e55179 (diff) |
ALSA: hda - Allocate name string of each codec
Allocate dynamically the name string of each codec instead of
pointing to a static string.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 77064b0cb821..53f3b08b24cd 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -719,6 +719,8 @@ struct hda_codec { | |||
719 | 719 | ||
720 | /* detected preset */ | 720 | /* detected preset */ |
721 | const struct hda_codec_preset *preset; | 721 | const struct hda_codec_preset *preset; |
722 | const char *name; /* codec name */ | ||
723 | const char *modelname; /* model name for preset */ | ||
722 | 724 | ||
723 | /* set by patch */ | 725 | /* set by patch */ |
724 | struct hda_codec_ops patch_ops; | 726 | struct hda_codec_ops patch_ops; |