Skip to content

Commit

Permalink
powerpc: Fix GENERIC_ISA_DMA dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov authored and Benjamin Herrenschmidt committed Jul 31, 2010
1 parent e9ae9da commit 1927445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1927445

Please sign in to comment.