aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mm/dma-coherent.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/dma-coherent.c')
-rw-r--r--arch/mips/mm/dma-coherent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-coherent.c b/arch/mips/mm/dma-coherent.c
index 18bc83e577c..5697c6e250a 100644
--- a/arch/mips/mm/dma-coherent.c
+++ b/arch/mips/mm/dma-coherent.c
@@ -197,7 +197,7 @@ int dma_is_consistent(struct device *dev, dma_addr_t dma_addr)
EXPORT_SYMBOL(dma_is_consistent);
-void dma_cache_sync(void *vaddr, size_t size,
+void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction)
{
BUG_ON(direction == DMA_NONE);