summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/dma-ip32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/dma-ip32.c')
-rw-r--r--arch/mips/mm/dma-ip32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-ip32.c b/arch/mips/mm/dma-ip32.c
index 08720a42100f..b42b6f7456e6 100644
--- a/arch/mips/mm/dma-ip32.c
+++ b/arch/mips/mm/dma-ip32.c
@@ -370,7 +370,8 @@ 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, enum dma_data_direction direction)
+void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
+ enum dma_data_direction direction)
{
if (direction == DMA_NONE)
return;