Skip to contentSkip to conversation

ASoC: Fix build dependency for SND_AT91_SOC_AFEB9260

PATCH Applied Axel Lin 2 participants 2 messages Jan 6, 2012 – Jan 10, 2012

Subsystems (4)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Fix build dependency for SND_AT91_SOC_AFEB9260

Make SND_AT91_SOC_AFEB9260 depend on ATMEL_SSC to fix below build errors:

LD .tmp_vmlinux1
sound/built-in.o: In function `atmel_ssc_remove':
sound/soc/atmel/atmel_ssc_dai.c:713: undefined reference to ssc_free' sound/built-in.o: In function atmel_ssc_probe':
sound/soc/atmel/atmel_ssc_dai.c:700: undefined reference to ssc_request' sound/built-in.o: In function atmel_ssc_set_audio':
sound/soc/atmel/atmel_ssc_dai.c:845: undefined reference to ssc_request' sound/soc/atmel/atmel_ssc_dai.c:851: undefined reference to ssc_free'
make: *** [.tmp_vmlinux1] Error 1

---
This patch replaces "[PATCH] ASoC: Fix build dependency for SND_ATMEL_SOC_SSC".

 sound/soc/atmel/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/atmel/Kconfig +1 -1
index d1fcc81..72b09cf 100644
@@ -26,7 +26,7 @@ config SND_AT91_SOC_SAM9G20_WM8731
 
 config SND_AT91_SOC_AFEB9260
 	tristate "SoC Audio support for AFEB9260 board"
-	depends on ARCH_AT91 && MACH_AFEB9260 && SND_ATMEL_SOC
+	depends on ATMEL_SSC && ARCH_AT91 && MACH_AFEB9260 && SND_ATMEL_SOC
 	select SND_ATMEL_SOC_SSC
 	select SND_SOC_TLV320AIC23
 	help
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 1 line · Axel Lin

Make SND_AT91_SOC_AFEB9260 depend on ATMEL_SSC to fix below build errors:

Applied, thanks.