summaryrefslogtreecommitdiff
path: root/include/asm-generic/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/dma-mapping.h')
-rw-r--r--include/asm-generic/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/dma-mapping.h b/include/asm-generic/dma-mapping.h
index b9be3fc344c7..783ab9944d70 100644
--- a/include/asm-generic/dma-mapping.h
+++ b/include/asm-generic/dma-mapping.h
@@ -295,7 +295,7 @@ dma_sync_single_range_for_device(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)
{
/* could define this in terms of the dma_cache ... operations,