• Axel Lin's avatar
    ASoC: Fix compile error for smartq_wm8987.c · 74bd21e9
    Axel Lin authored
    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: default avatarAxel Lin <axel.lin@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    74bd21e9
smartq_wm8987.c 6.9 KB