forked from luck/tmp_suning_uos_patched
3c9a3203ff
Move the array declaration to hda_codec.c where it is used and add includes where the individual presets are declared. Fixes the following sparse warnings: sound/pci/hda/patch_realtek.c:13744:25: warning: symbol 'snd_hda_preset_realtek' was not declared. Should it be static? sound/pci/hda/patch_cmedia.c:729:25: warning: symbol 'snd_hda_preset_cmedia' was not declared. Should it be static? sound/pci/hda/patch_analog.c:3656:25: warning: symbol 'snd_hda_preset_analog' was not declared. Should it be static? sound/pci/hda/patch_sigmatel.c:3995:25: warning: symbol 'snd_hda_preset_sigmatel' was not declared. Should it be static? sound/pci/hda/patch_si3054.c:286:25: warning: symbol 'snd_hda_preset_si3054' was not declared. Should it be static? sound/pci/hda/patch_atihdmi.c:156:25: warning: symbol 'snd_hda_preset_atihdmi' was not declared. Should it be static? sound/pci/hda/patch_conexant.c:1721:25: warning: symbol 'snd_hda_preset_conexant' was not declared. Should it be static? sound/pci/hda/patch_via.c:1962:25: warning: symbol 'snd_hda_preset_via' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 lines
694 B
C
21 lines
694 B
C
/*
|
|
* HDA Patches - included by hda_codec.c
|
|
*/
|
|
|
|
/* Realtek codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_realtek[];
|
|
/* C-Media codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_cmedia[];
|
|
/* Analog Devices codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_analog[];
|
|
/* SigmaTel codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_sigmatel[];
|
|
/* SiLabs 3054/3055 modem codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_si3054[];
|
|
/* ATI HDMI codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_atihdmi[];
|
|
/* Conexant audio codec */
|
|
extern struct hda_codec_preset snd_hda_preset_conexant[];
|
|
/* VIA codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_via[];
|