[linux-next] ASoC: sound/soc/davinci/davinci-sffsdr.c build failure

From: Axel Lin
Date: Mon Aug 15 2011 - 01:51:12 EST

Build test with "davinci_all_defconfig" + enable SND_DAVINCI_SOC_SFFSDR.
I got below build error:

CC [M] sound/soc/davinci/davinci-sffsdr.o
sound/soc/davinci/davinci-sffsdr.c:118: error: 'DAVINCI_MCBSP_BASE' undeclared here (not in a function)
sound/soc/davinci/davinci-sffsdr.c:124: error: variable 'sffsdr_snd_data' has initializer but incomplete type
sound/soc/davinci/davinci-sffsdr.c:125: error: unknown field 'tx_dma_ch' specified in initializer
sound/soc/davinci/davinci-sffsdr.c:125: warning: excess elements in struct initializer
sound/soc/davinci/davinci-sffsdr.c:125: warning: (near initialization for 'sffsdr_snd_data')
sound/soc/davinci/davinci-sffsdr.c:126: error: unknown field 'rx_dma_ch' specified in initializer
sound/soc/davinci/davinci-sffsdr.c:126: warning: excess elements in struct initializer
sound/soc/davinci/davinci-sffsdr.c:126: warning: (near initialization for 'sffsdr_snd_data')
sound/soc/davinci/davinci-sffsdr.c: In function 'sffsdr_init':
sound/soc/davinci/davinci-sffsdr.c:148: error: invalid application of 'sizeof' to incomplete type 'struct evm_snd_platform_data'
make[3]: *** [sound/soc/davinci/davinci-sffsdr.o] Error 1
make[2]: *** [sound/soc/davinci] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/