diff options
author | Anton Vorontsov <avorontsov@mvista.com> | 2010-07-15 03:38:16 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-31 00:56:31 -0400 |
commit | 1927445a7376e183072e6147a9641088b9b6a30e (patch) | |
tree | 839f8eab9332761126c1db101b5eb3d960b538b2 | |
parent | e9ae9dabfc1df26d5eff0102c4d359f534e11087 (diff) |
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 <avorontsov@mvista.com>
Acked-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
669 | 669 | ||
670 | config GENERIC_ISA_DMA | 670 | config GENERIC_ISA_DMA |
671 | bool | 671 | bool |
672 | depends on PPC64 || POWER4 || 6xx && !CPM2 | 672 | depends on ISA_DMA_API |
673 | default y | 673 | default y |
674 | 674 | ||
675 | config PPC_INDIRECT_PCI | 675 | config PPC_INDIRECT_PCI |