summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-xtensa/dma-mapping.h')
-rw-r--r--include/asm-xtensa/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/dma-mapping.h b/include/asm-xtensa/dma-mapping.h
index 827d1dfd9e1d..82b03b3a2ee6 100644
--- a/include/asm-xtensa/dma-mapping.h
+++ b/include/asm-xtensa/dma-mapping.h
@@ -173,7 +173,7 @@ dma_get_cache_alignment(void)
#define dma_is_consistent(d, h) (1)
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)
{
consistent_sync(vaddr, size, direction);