summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-bmips/dma-coherence.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-03-27 15:10:30 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:22:01 +0200
commit0acbfc66d09e97e5a01e7a23ac7e99f360ff851b (patch)
treee4dbdaefd70d249bd5fd15a862a55253ba5dc116 /arch/mips/include/asm/mach-bmips/dma-coherence.h
parent253073801363e5cea3cd368fed1afc3111a21c35 (diff)
MIPS: DMA: Implement platform hook to perform post-DMA cache flushes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-bmips/dma-coherence.h')
-rw-r--r--arch/mips/include/asm/mach-bmips/dma-coherence.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bmips/dma-coherence.h b/arch/mips/include/asm/mach-bmips/dma-coherence.h
index 65e95b03ef92..509ab72725eb 100644
--- a/arch/mips/include/asm/mach-bmips/dma-coherence.h
+++ b/arch/mips/include/asm/mach-bmips/dma-coherence.h
@@ -45,4 +45,8 @@ static inline int plat_device_is_coherent(struct device *dev)
return 0;
}
+static inline void plat_post_dma_flush(struct device *dev)
+{
+}
+
#endif /* __ASM_MACH_BMIPS_DMA_COHERENCE_H */