diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-11-18 11:03:56 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-11-26 12:42:38 (GMT) |
commit | b21bdd0d343c8b2496690283211e27c9af598ed3 (patch) | |
tree | 23500f17dae3e8998009078e389f5702572ebbbf /sound/pci/hda/hda_codec.h | |
parent | 873ce8ad502cce3ba9295890d52afcce385d4107 (diff) | |
download | linux-b21bdd0d343c8b2496690283211e27c9af598ed3.tar.xz |
ALSA: hda - Split the generic parser as an individual module
Drop the hard dependency on the generic parser code and load / unload
the generic parser code dynamically if built as a module. This allows
us to avoid the generic parser if only HDMI/DP codecs are found.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 7aa9870..14e4b5a 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -834,6 +834,7 @@ struct hda_codec { /* detected preset */ const struct hda_codec_preset *preset; struct module *owner; + int (*parser)(struct hda_codec *codec); const char *vendor_name; /* codec vendor name */ const char *chip_name; /* codec chip name */ const char *modelname; /* model name for preset */ |