summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/device.h')
-rw-r--r--arch/mips/include/asm/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/device.h b/arch/mips/include/asm/device.h
index c94fafba9e62..21c2082a0dfb 100644
--- a/arch/mips/include/asm/device.h
+++ b/arch/mips/include/asm/device.h
@@ -11,6 +11,11 @@ struct dma_map_ops;
struct dev_archdata {
/* DMA operations on that device */
struct dma_map_ops *dma_ops;
+
+#ifdef CONFIG_DMA_PERDEV_COHERENT
+ /* Non-zero if DMA is coherent with CPU caches */
+ bool dma_coherent;
+#endif
};
struct pdev_archdata {