summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/dma-mapping_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/dma-mapping_64.h')
-rw-r--r--include/asm-sparc/dma-mapping_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/dma-mapping_64.h b/include/asm-sparc/dma-mapping_64.h
index 38cbec76a33..bfa64f9702d 100644
--- a/include/asm-sparc/dma-mapping_64.h
+++ b/include/asm-sparc/dma-mapping_64.h
@@ -135,7 +135,7 @@ static inline void dma_sync_sg_for_device(struct device *dev,
/* No flushing needed to sync cpu writes to the device. */
}
-static inline int dma_mapping_error(dma_addr_t dma_addr)
+static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
{
return (dma_addr == DMA_ERROR_CODE);
}