]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/mips/mm/dma-default.c
MIPS: Support per-device DMA coherence
[linux.git] / arch / mips / mm / dma-default.c
index 7ae4c55c935a715b8135e55daa823b4005802d76..46d5696c4f276a7cdd729057fb4ee7044146d9e3 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <dma-coherence.h>
 
-#ifdef CONFIG_DMA_MAYBE_COHERENT
+#if defined(CONFIG_DMA_MAYBE_COHERENT) && !defined(CONFIG_DMA_PERDEV_COHERENT)
 /* User defined DMA coherency from command line. */
 enum coherent_io_user_state coherentio = IO_COHERENCE_DEFAULT;
 EXPORT_SYMBOL_GPL(coherentio);