MIPS: DMA: Implement platform hook to perform post-DMA cache flushes.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 Mar 2015 14:10:30 +0000 (15:10 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:22:01 +0000 (17:22 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-ath25/dma-coherence.h
arch/mips/include/asm/mach-bmips/dma-coherence.h
arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
arch/mips/include/asm/mach-generic/dma-coherence.h
arch/mips/include/asm/mach-ip27/dma-coherence.h
arch/mips/include/asm/mach-ip32/dma-coherence.h
arch/mips/include/asm/mach-jazz/dma-coherence.h
arch/mips/include/asm/mach-loongson/dma-coherence.h
arch/mips/mm/dma-default.c

index 65084a0..d5defdd 100644 (file)
@@ -69,4 +69,8 @@ static inline int plat_device_is_coherent(struct device *dev)
 #endif
 }
 
+static inline void plat_post_dma_flush(struct device *dev)
+{
+}
+
 #endif /* __ASM_MACH_ATH25_DMA_COHERENCE_H */
index 65e95b0..509ab72 100644 (file)
@@ -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 */
Simple merge