diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-10 01:54:37 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-10 06:38:00 -0500 |
commit | 625136eb4a98e82f27c5d9dcb1b8cf8e0bb5bcef (patch) | |
tree | d8f282efd801424ad25d7e6fb140b243bc2670bb /sound/soc/omap | |
parent | 1f5ff88327b5bc7f5476b4e03425074d07ad25d5 (diff) |
ASoC: Fix build error in sound/soc/omap/n810.c
Fix below build error which is introduced by
commit 022658 "ASoC: core: Add support for DAI and machine kcontrols".
CC [M] sound/soc/omap/n810.o
sound/soc/omap/n810.c: In function 'n810_set_input':
sound/soc/omap/n810.c:194: error: 'codec' undeclared (first use in this function)
sound/soc/omap/n810.c:194: error: (Each undeclared identifier is reported only once
sound/soc/omap/n810.c:194: error: for each function it appears in.)
sound/soc/omap/n810.c:188: warning: unused variable 'card'
make[3]: *** [sound/soc/omap/n810.o] Error 1
make[2]: *** [sound/soc/omap] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/n810.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c index 1490227cd379..c292bf0fd19c 100644 --- a/sound/soc/omap/n810.c +++ b/sound/soc/omap/n810.c | |||
@@ -191,7 +191,7 @@ static int n810_set_input(struct snd_kcontrol *kcontrol, | |||
191 | return 0; | 191 | return 0; |
192 | 192 | ||
193 | n810_dmic_func = ucontrol->value.integer.value[0]; | 193 | n810_dmic_func = ucontrol->value.integer.value[0]; |
194 | n810_ext_control(codec); | 194 | n810_ext_control(&card->dapm); |
195 | 195 | ||
196 | return 1; | 196 | return 1; |
197 | } | 197 | } |