diff options
Diffstat (limited to 'arch/mips/mm/dma-noncoherent.c')
-rw-r--r-- | arch/mips/mm/dma-noncoherent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-noncoherent.c b/arch/mips/mm/dma-noncoherent.c index 4a3efc633373..8cecef0957c3 100644 --- a/arch/mips/mm/dma-noncoherent.c +++ b/arch/mips/mm/dma-noncoherent.c | |||
@@ -306,7 +306,8 @@ int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) | |||
306 | 306 | ||
307 | EXPORT_SYMBOL(dma_is_consistent); | 307 | EXPORT_SYMBOL(dma_is_consistent); |
308 | 308 | ||
309 | void dma_cache_sync(void *vaddr, size_t size, enum dma_data_direction direction) | 309 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
310 | enum dma_data_direction direction) | ||
310 | { | 311 | { |
311 | if (direction == DMA_NONE) | 312 | if (direction == DMA_NONE) |
312 | return; | 313 | return; |