• Axel Lin's avatar
    ASoC: Fix compile error for nuc900-pcm.c · a7a9820b
    Axel Lin authored
    This patch fixes below error:
    
      CC      sound/soc/nuc900/nuc900-pcm.o
    sound/soc/nuc900/nuc900-pcm.c: In function 'nuc900_dma_open':
    sound/soc/nuc900/nuc900-pcm.c:267: error: 'nuc900_ac97_data' undeclared (first use in this function)
    sound/soc/nuc900/nuc900-pcm.c:267: error: (Each undeclared identifier is reported only once
    sound/soc/nuc900/nuc900-pcm.c:267: error: for each function it appears in.)
    sound/soc/nuc900/nuc900-pcm.c: At top level:
    sound/soc/nuc900/nuc900-pcm.c:337: error: expected ',' or ';' before 'static'
    sound/soc/nuc900/nuc900-pcm.c:354: error: 'nuc900_soc_platform_probe' undeclared here (not in a function)
    make[3]: *** [sound/soc/nuc900/nuc900-pcm.o] Error 1
    make[2]: *** [sound/soc/nuc900] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2
    Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
    Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    a7a9820b
nuc900-audio.h 2.79 KB