提交 86d72bdf 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] hda-codec - Fix compile warnings without CONFIG_SND_DEBUG

Fix compile warnings (unused variables) in patch_conexant.c
without CONFIG_SND_DEBUG.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 2e26e483
...@@ -397,6 +397,9 @@ static int conexant_eapd_put(struct snd_kcontrol *kcontrol, ...@@ -397,6 +397,9 @@ static int conexant_eapd_put(struct snd_kcontrol *kcontrol,
return 1; return 1;
} }
/* controls for test mode */
#ifdef CONFIG_SND_DEBUG
static int conexant_ch_mode_info(struct snd_kcontrol *kcontrol, static int conexant_ch_mode_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo) struct snd_ctl_elem_info *uinfo)
{ {
...@@ -545,6 +548,8 @@ static int cxt_spdif_ctrl_put(struct snd_kcontrol *kcontrol, ...@@ -545,6 +548,8 @@ static int cxt_spdif_ctrl_put(struct snd_kcontrol *kcontrol,
.put = cxt_spdif_ctrl_put, \ .put = cxt_spdif_ctrl_put, \
.private_value = nid | (mask<<16) } .private_value = nid | (mask<<16) }
#endif /* CONFIG_SND_DEBUG */
/* Conexant 5045 specific */ /* Conexant 5045 specific */
static hda_nid_t cxt5045_dac_nids[1] = { 0x19 }; static hda_nid_t cxt5045_dac_nids[1] = { 0x19 };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册