diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2008-05-13 08:03:40 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-05-13 08:47:44 -0400 |
commit | 392abe9cb36f04ccdda9c96938077b0d43f2b50b (patch) | |
tree | 9bd11adfaa42b648f7f646072656440edc2fe26e | |
parent | 5b006137f47622dbd4a5aa2ba4010202cbc31667 (diff) |
[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 <philipp.zabel@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index e6ea6f750941..d3c8c033dff8 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -238,7 +238,7 @@ int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, | |||
238 | struct snd_ctl_elem_info *uinfo); | 238 | struct snd_ctl_elem_info *uinfo); |
239 | int snd_soc_info_volsw_ext(struct snd_kcontrol *kcontrol, | 239 | int snd_soc_info_volsw_ext(struct snd_kcontrol *kcontrol, |
240 | struct snd_ctl_elem_info *uinfo); | 240 | struct snd_ctl_elem_info *uinfo); |
241 | #define snd_soc_info_bool_ext snd_ctl_boolean_mono | 241 | #define snd_soc_info_bool_ext snd_ctl_boolean_mono_info |
242 | int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, | 242 | int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, |
243 | struct snd_ctl_elem_value *ucontrol); | 243 | struct snd_ctl_elem_value *ucontrol); |
244 | int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, | 244 | int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, |