diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-03-27 15:10:30 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 17:22:01 +0200 |
commit | 0acbfc66d09e97e5a01e7a23ac7e99f360ff851b (patch) | |
tree | e4dbdaefd70d249bd5fd15a862a55253ba5dc116 /arch/mips/include/asm/mach-ip32 | |
parent | MIPS: ath25: Remove unused DMA helper functions. (diff) | |
download | linux-0acbfc66d09e97e5a01e7a23ac7e99f360ff851b.tar.xz linux-0acbfc66d09e97e5a01e7a23ac7e99f360ff851b.zip |
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-ip32')
-rw-r--r-- | arch/mips/include/asm/mach-ip32/dma-coherence.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ip32/dma-coherence.h b/arch/mips/include/asm/mach-ip32/dma-coherence.h index 104cfbc3ed63..0a0b0e2ced60 100644 --- a/arch/mips/include/asm/mach-ip32/dma-coherence.h +++ b/arch/mips/include/asm/mach-ip32/dma-coherence.h @@ -80,6 +80,10 @@ static inline int plat_dma_supported(struct device *dev, u64 mask) return 1; } +static inline void plat_post_dma_flush(struct device *dev) +{ +} + static inline int plat_device_is_coherent(struct device *dev) { return 0; /* IP32 is non-cohernet */ |