diff options
Diffstat (limited to 'arch/mips/mm/dma-ip32.c')
-rw-r--r-- | arch/mips/mm/dma-ip32.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/mm/dma-ip32.c b/arch/mips/mm/dma-ip32.c index ec54ed0d26ff..b42b6f7456e6 100644 --- a/arch/mips/mm/dma-ip32.c +++ b/arch/mips/mm/dma-ip32.c | |||
@@ -363,14 +363,15 @@ int dma_supported(struct device *dev, u64 mask) | |||
363 | 363 | ||
364 | EXPORT_SYMBOL(dma_supported); | 364 | EXPORT_SYMBOL(dma_supported); |
365 | 365 | ||
366 | int dma_is_consistent(dma_addr_t dma_addr) | 366 | int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) |
367 | { | 367 | { |
368 | return 1; | 368 | return 1; |
369 | } | 369 | } |
370 | 370 | ||
371 | EXPORT_SYMBOL(dma_is_consistent); | 371 | EXPORT_SYMBOL(dma_is_consistent); |
372 | 372 | ||
373 | void dma_cache_sync(void *vaddr, size_t size, enum dma_data_direction direction) | 373 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
374 | enum dma_data_direction direction) | ||
374 | { | 375 | { |
375 | if (direction == DMA_NONE) | 376 | if (direction == DMA_NONE) |
376 | return; | 377 | return; |