]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix txx9aclc.c build
authorRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2011 11:26:16 +0000 (12:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jul 2011 05:53:08 +0000 (07:53 +0200)
commitbccc235b38d421c5a721d75300c30235ba648cde
treeb860169ee4541b5022f4adc712c103baa584eaf3
parent2461aa9ba7cd3e7b38a0c1f2aa9dbd3b6a986ab9
ASoC: Fix txx9aclc.c build

12e7d360556f53467e1dbcf1b5c91fd0baad8948 [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: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/txx9/txx9aclc.c