From: Philipp Zabel Date: Tue, 13 May 2008 12:03:40 +0000 (+0200) Subject: [ALSA] ASoC: build fix for snd_soc_info_bool_ext X-Git-Tag: upstream/snapshot3+hdmi~25013^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=392abe9cb36f04ccdda9c96938077b0d43f2b50b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [ALSA] ASoC: build fix for snd_soc_info_bool_ext I suspect that snd_ctl_boolean_mono should have been snd_ctl_boolean_mono_info instead. This fixes the build for magician. Signed-off-by: Philipp Zabel Acked-by: Mark Brown Signed-off-by: Takashi Iwai --- diff --git a/include/sound/soc.h b/include/sound/soc.h index e6ea6f7..d3c8c03 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -238,7 +238,7 @@ int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_soc_info_volsw_ext(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); -#define snd_soc_info_bool_ext snd_ctl_boolean_mono +#define snd_soc_info_bool_ext snd_ctl_boolean_mono_info int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int snd_soc_put_volsw(struct snd_kcontrol *kcontrol,