]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/samsung/smartq_wm8987.c
ASoC: Fix compile error for smartq_wm8987.c
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Nov 2010 05:43:49 +0000 (13:43 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:14:05 +0000 (11:14 +0000)
commit74bd21e9b301445b57bdcccdd7b5063ad3fbad0f
treee09e99e2ca2a57367d721bccd5ae803dca565ff2
parent8ce28bfcf25527b228b8dff1d38480e3643a94d1
ASoC: Fix compile error for smartq_wm8987.c

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@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/smartq_wm8987.c