diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-11-28 05:33:10 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:02:11 -0500 |
commit | 86d72bdfcd34c9cd8acddf749ff130d5365fe279 (patch) | |
tree | 98f7d82b2cec2b8628281bee1a59114f7fc59d8f /sound | |
parent | 2e26e483694059d63bda7bb89d5a464c952d1d44 (diff) |
[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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index dec8f9747fc6..73f4668238c6 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -397,6 +397,9 @@ static int conexant_eapd_put(struct snd_kcontrol *kcontrol, | |||
397 | return 1; | 397 | return 1; |
398 | } | 398 | } |
399 | 399 | ||
400 | /* controls for test mode */ | ||
401 | #ifdef CONFIG_SND_DEBUG | ||
402 | |||
400 | static int conexant_ch_mode_info(struct snd_kcontrol *kcontrol, | 403 | static int conexant_ch_mode_info(struct snd_kcontrol *kcontrol, |
401 | struct snd_ctl_elem_info *uinfo) | 404 | struct snd_ctl_elem_info *uinfo) |
402 | { | 405 | { |
@@ -545,6 +548,8 @@ static int cxt_spdif_ctrl_put(struct snd_kcontrol *kcontrol, | |||
545 | .put = cxt_spdif_ctrl_put, \ | 548 | .put = cxt_spdif_ctrl_put, \ |
546 | .private_value = nid | (mask<<16) } | 549 | .private_value = nid | (mask<<16) } |
547 | 550 | ||
551 | #endif /* CONFIG_SND_DEBUG */ | ||
552 | |||
548 | /* Conexant 5045 specific */ | 553 | /* Conexant 5045 specific */ |
549 | 554 | ||
550 | static hda_nid_t cxt5045_dac_nids[1] = { 0x19 }; | 555 | static hda_nid_t cxt5045_dac_nids[1] = { 0x19 }; |