From: Anton Vorontsov Date: Thu, 15 Jul 2010 07:38:16 +0000 (+0000) Subject: powerpc: Fix GENERIC_ISA_DMA dependency X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1927445a7376e183072e6147a9641088b9b6a30e;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git powerpc: Fix GENERIC_ISA_DMA dependency On PowerPC we should always use generic ISA DMA API implementation as there is simply no other implementation exist. Without this patch, the following build error pops up: sound/built-in.o: In function 'snd_dma_pointer': (.text+0x74ae): undefined reference to 'dma_spin_lock' ... make: *** [.tmp_vmlinux1] Error 1 This is PPC_85xx, SMP and some sound drivers set to =y. Signed-off-by: Anton Vorontsov Acked-by: Dave Liu Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 25b28fdc6767..4fa420381044 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -669,7 +669,7 @@ config NEED_SG_DMA_LENGTH config GENERIC_ISA_DMA bool - depends on PPC64 || POWER4 || 6xx && !CPM2 + depends on ISA_DMA_API default y config PPC_INDIRECT_PCI