ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
authorAxel Lin <axel.lin@gmail.com>
Tue, 10 Jan 2012 06:19:12 +0000 (14:19 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Jan 2012 22:52:20 +0000 (14:52 -0800)
commite4e9e05409280b50003280afffe27ade21480dd7
tree227bf78e86e37ffcf575f791564b80d647fca47d
parent3befc925cb658227fb207f20e6719987f7ee3190
ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC

commit 739be96 "ASoC: Fix build dependency for SND_ATMEL_SOC_SSC"
introduces below build warnings:

drivers/misc/Kconfig:212:error: recursive dependency detected!
drivers/misc/Kconfig:212:       symbol ATMEL_SSC is selected by SND_ATMEL_SOC_SSC
sound/soc/atmel/Kconfig:9:      symbol SND_ATMEL_SOC_SSC is selected by SND_AT91_SOC_SAM9G20_WM8731
sound/soc/atmel/Kconfig:18:     symbol SND_AT91_SOC_SAM9G20_WM8731 depends on ATMEL_SSC

SND_ATMEL_SOC_SSC needs ATMEL_SSC to pass compilation.
This patch remove the "select ATMEL_SSC" from SND_ATMEL_SOC_SSC to avoid above
warnings. And then ensures all the machine drivers that select SND_ATMEL_SOC_SSC
need to depend on ATMEL_SSC.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/Kconfig