diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/dma-mapping.h | 2 | ||||
-rw-r--r-- | arch/mips/mm/dma-default.c | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/dma-mapping.h b/arch/mips/include/asm/dma-mapping.h index d724a15f0438..18fbf7af8e93 100644 --- a/arch/mips/include/asm/dma-mapping.h +++ b/arch/mips/include/asm/dma-mapping.h | |||
@@ -62,8 +62,6 @@ dma_set_mask(struct device *dev, u64 mask) | |||
62 | return 0; | 62 | return 0; |
63 | } | 63 | } |
64 | 64 | ||
65 | extern int dma_is_consistent(struct device *dev, dma_addr_t dma_addr); | ||
66 | |||
67 | extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 65 | extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
68 | enum dma_data_direction direction); | 66 | enum dma_data_direction direction); |
69 | 67 | ||
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 9547bc0cf188..7ba890860d98 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c | |||
@@ -357,13 +357,6 @@ int dma_supported(struct device *dev, u64 mask) | |||
357 | 357 | ||
358 | EXPORT_SYMBOL(dma_supported); | 358 | EXPORT_SYMBOL(dma_supported); |
359 | 359 | ||
360 | int dma_is_consistent(struct device *dev, dma_addr_t dma_addr) | ||
361 | { | ||
362 | return plat_device_is_coherent(dev); | ||
363 | } | ||
364 | |||
365 | EXPORT_SYMBOL(dma_is_consistent); | ||
366 | |||
367 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 360 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
368 | enum dma_data_direction direction) | 361 | enum dma_data_direction direction) |
369 | { | 362 | { |