Merge tag 'dma-mapping-4.20' of git://git.infradead.org/users/hch/dma-mapping
[linux-2.6-block.git] / arch / mips / kernel / setup.c
index 8aaaa42f91ed6626809366e4ca7e533dbeb43bfc..e64b9e8bb002e522bea9c199033f5f4940bf84a7 100644 (file)
@@ -1075,7 +1075,7 @@ static int __init debugfs_mips(void)
 arch_initcall(debugfs_mips);
 #endif
 
-#if defined(CONFIG_DMA_MAYBE_COHERENT) && !defined(CONFIG_DMA_PERDEV_COHERENT)
+#ifdef CONFIG_DMA_MAYBE_COHERENT
 /* User defined DMA coherency from command line. */
 enum coherent_io_user_state coherentio = IO_COHERENCE_DEFAULT;
 EXPORT_SYMBOL_GPL(coherentio);