summaryrefslogtreecommitdiff
path: root/include/asm-cris/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/dma-mapping.h')
-rw-r--r--include/asm-cris/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h
index edc8d1bfaae2..cb2fb25ff8d9 100644
--- a/include/asm-cris/dma-mapping.h
+++ b/include/asm-cris/dma-mapping.h
@@ -120,7 +120,7 @@ dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems,
}
static inline int
-dma_mapping_error(dma_addr_t dma_addr)
+dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
{
return 0;
}