diff options
Diffstat (limited to 'arch/mips/mm/dma-coherent.c')
-rw-r--r-- | arch/mips/mm/dma-coherent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/dma-coherent.c b/arch/mips/mm/dma-coherent.c index 7fa5fd16e46b..5697c6e250a3 100644 --- a/arch/mips/mm/dma-coherent.c +++ b/arch/mips/mm/dma-coherent.c | |||
@@ -190,14 +190,14 @@ int dma_supported(struct device *dev, u64 mask) | |||
190 | 190 | ||
191 | EXPORT_SYMBOL(dma_supported); | 191 | EXPORT_SYMBOL(dma_supported); |
192 | 192 | ||
193 | int dma_is_consistent(dma_addr_t dma_addr) | 193 | int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) |
194 | { | 194 | { |
195 | return 1; | 195 | return 1; |
196 | } | 196 | } |
197 | 197 | ||
198 | EXPORT_SYMBOL(dma_is_consistent); | 198 | EXPORT_SYMBOL(dma_is_consistent); |
199 | 199 | ||
200 | void dma_cache_sync(void *vaddr, size_t size, | 200 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
201 | enum dma_data_direction direction) | 201 | enum dma_data_direction direction) |
202 | { | 202 | { |
203 | BUG_ON(direction == DMA_NONE); | 203 | BUG_ON(direction == DMA_NONE); |