summaryrefslogtreecommitdiffstats
path: root/include/asm-um/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/dma-mapping.h')
-rw-r--r--include/asm-um/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-um/dma-mapping.h b/include/asm-um/dma-mapping.h
index defb5b8307de..f0ee4fb55911 100644
--- a/include/asm-um/dma-mapping.h
+++ b/include/asm-um/dma-mapping.h
@@ -112,7 +112,7 @@ dma_sync_single_range(struct device *dev, dma_addr_t dma_handle,
}
static inline void
-dma_cache_sync(void *vaddr, size_t size,
+dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction)
{
BUG();
OpenPOWER on IntegriCloud