Re: [PATCH] ASoC: Fix compile error for smartq_wm8987.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-11-25 at 13:43 +0800, Axel Lin wrote:
> Fix below compile error:
> 
>   CC      sound/soc/samsung/smartq_wm8987.o
> sound/soc/samsung/smartq_wm8987.c: In function 'smartq_hifi_hw_params':
> sound/soc/samsung/smartq_wm8987.c:42: error: 'struct snd_soc_pcm_runtime' has no member named 'dai'
> sound/soc/samsung/smartq_wm8987.c:43: error: 'struct snd_soc_pcm_runtime' has no member named 'dai'
> sound/soc/samsung/smartq_wm8987.c: In function 'smartq_wm8987_init':
> sound/soc/samsung/smartq_wm8987.c:192: warning: passing argument 1 of 'snd_soc_jack_new' from incompatible pointer type
> sound/soc/samsung/smartq_wm8987.c: At top level:
> sound/soc/samsung/smartq_wm8987.c:216: warning: initialization from incompatible pointer type
> make[3]: *** [sound/soc/samsung/smartq_wm8987.o] Error 1
> make[2]: *** [sound/soc/samsung] Error 2
> make[1]: *** [sound/soc] Error 2
> make: *** [sound] Error 2
> 
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxx>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux