• R
    ASoC: Fix txx9aclc.c build · 06132fdf
    Ralf Baechle 提交于
    552d1ef6 [ASoC: core - Optimise and refactor
    pcm_new() to pass only rtd] breaks compilation of txx9aclc.c:
    
      CC [M]  sound/soc/txx9/txx9aclc.o
    /home/ralf/src/linux/linux-mips/sound/soc/txx9/txx9aclc.c: In function 'txx9aclc_pcm_new':
    /home/ralf/src/linux/linux-mips/sound/soc/txx9/txx9aclc.c:318:3: error: 'card' undeclared (first use in this function)
    /home/ralf/src/linux/linux-mips/sound/soc/txx9/txx9aclc.c:318:3: note: each undeclared identifier is reported only once for each function it appears in
    make[5]: *** [sound/soc/txx9/txx9aclc.o] Error 1
    
    Fixed by providing a definition for card.
    Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    06132fdf
txx9aclc.c 12.8 KB