OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: DMA: Allow platforms to override only the post DMA hook
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
arch
/
mips
/
include
/
asm
/
mach-generic
/
dma-coherence.h
diff --git
a/arch/mips/include/asm/mach-generic/dma-coherence.h
b/arch/mips/include/asm/mach-generic/dma-coherence.h
index
6713309
..
0f8a354
100644
(file)
--- a/
arch/mips/include/asm/mach-generic/dma-coherence.h
+++ b/
arch/mips/include/asm/mach-generic/dma-coherence.h
@@
-52,9
+52,11
@@
static inline int plat_device_is_coherent(struct device *dev)
return coherentio;
}
+#ifndef plat_post_dma_flush
static inline void plat_post_dma_flush(struct device *dev)
{
}
+#endif
#ifdef CONFIG_SWIOTLB
static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)