diff options
Diffstat (limited to 'arch/mips/mm/dma-noncoherent.c')
-rw-r--r-- | arch/mips/mm/dma-noncoherent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/mm/dma-noncoherent.c b/arch/mips/mm/dma-noncoherent.c index 2eeffe5c2a3a..8cecef0957c3 100644 --- a/arch/mips/mm/dma-noncoherent.c +++ b/arch/mips/mm/dma-noncoherent.c | |||
@@ -299,14 +299,15 @@ int dma_supported(struct device *dev, u64 mask) | |||
299 | 299 | ||
300 | EXPORT_SYMBOL(dma_supported); | 300 | EXPORT_SYMBOL(dma_supported); |
301 | 301 | ||
302 | int dma_is_consistent(dma_addr_t dma_addr) | 302 | int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) |
303 | { | 303 | { |
304 | return 1; | 304 | return 1; |
305 | } | 305 | } |
306 | 306 | ||
307 | EXPORT_SYMBOL(dma_is_consistent); | 307 | EXPORT_SYMBOL(dma_is_consistent); |
308 | 308 | ||
309 | void dma_cache_sync(void *vaddr, size_t size, enum dma_data_direction direction) | 309 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
310 | enum dma_data_direction direction) | ||
310 | { | 311 | { |
311 | if (direction == DMA_NONE) | 312 | if (direction == DMA_NONE) |
312 | return; | 313 | return; |