ASoC: fsl-asoc-card: move 'config SND_SOC_FSL_ASOC_CARD' to 'if SND_IMX_SOC'
authorShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 19 Aug 2014 09:36:41 +0000 (17:36 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 19 Aug 2014 16:11:50 +0000 (11:11 -0500)
commit38c6e4bb67760db1392b9c5ee0082af07c0db20d
treeffb8dee8b12e6cd8a0e37a6c3d00a1bc19460e85
parentcdec729765659adafba983d6b6760ad52c71d5d8
ASoC: fsl-asoc-card: move 'config SND_SOC_FSL_ASOC_CARD' to 'if SND_IMX_SOC'

Build kernel with SND_SOC_FSL_ASOC_CARD=m && SND_SOC_FSL_{SSI,SAI,ESAI}=y
leads the following error:

   sound/built-in.o: In function `fsl_sai_probe':
>> fsl_sai.c:(.text+0x5f662): undefined reference to `imx_pcm_dma_init'
   sound/built-in.o: In function `fsl_esai_probe':
>> fsl_esai.c:(.text+0x6044b): undefined reference to `imx_pcm_dma_init'

The config SND_SOC_FSL_ASOC_CARD is for IMX SOC, So move it under condition
of 'if SND_IMX_SOC'.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/Kconfig