Commit f28a1f16 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Geert Uytterhoeven

m68k: Don't select ARCH_HAS_DMA_PREP_COHERENT for nommu or coldfire

M68k only provides the arch_dma_prep_coherent symbol when an mmu is
enabled and not on the coldfire platform.  Fix the Kconfig symbol
selection up to match this.

Fixes: 69878ef4 ("m68k: Implement arch_dma_prep_coherent()")
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 69878ef4
......@@ -4,7 +4,7 @@ config M68K
default y
select ARCH_32BIT_OFF_T
select ARCH_HAS_DMA_MMAP_PGPROT if MMU && !COLDFIRE
select ARCH_HAS_DMA_PREP_COHERENT
select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment