summaryrefslogtreecommitdiffstats
path: root/include/asm-frv/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/dma-mapping.h')
-rw-r--r--include/asm-frv/dma-mapping.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-frv/dma-mapping.h b/include/asm-frv/dma-mapping.h
index e9fc1d47797..bcb2df68496 100644
--- a/include/asm-frv/dma-mapping.h
+++ b/include/asm-frv/dma-mapping.h
@@ -172,10 +172,10 @@ int dma_get_cache_alignment(void)
return 1 << L1_CACHE_SHIFT;
}
-#define dma_is_consistent(d) (1)
+#define dma_is_consistent(d, h) (1)
static inline
-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)
{
flush_write_buffers();