summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-12-09 19:14:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2010-12-16 18:11:01 +0000
commita3aad4aaf871045ab1dd9c99be6c1ace881d8eb0 (patch)
tree17fa5ace3d47ef500b0c8e1e1fc2d5adcf02ba03 /arch
parentd002aaadf84c081623a0a8502c122d1492fbd47c (diff)
downloadlinux-stable-a3aad4aaf871045ab1dd9c99be6c1ace881d8eb0.tar.gz
linux-stable-a3aad4aaf871045ab1dd9c99be6c1ace881d8eb0.tar.bz2
linux-stable-a3aad4aaf871045ab1dd9c99be6c1ace881d8eb0.zip
MIPS: Rename mips_dma_cache_sync back to dma_cache_sync
This fixes IP22 and IP28 build errors. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mm/dma-default.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c
index 4fc1a0fbe007..21ea14efb837 100644
--- a/arch/mips/mm/dma-default.c
+++ b/arch/mips/mm/dma-default.c
@@ -288,7 +288,7 @@ int mips_dma_supported(struct device *dev, u64 mask)
return plat_dma_supported(dev, mask);
}
-void mips_dma_cache_sync(struct device *dev, void *vaddr, size_t size,
+void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction)
{
BUG_ON(direction == DMA_NONE);
@@ -298,6 +298,8 @@ void mips_dma_cache_sync(struct device *dev, void *vaddr, size_t size,
__dma_sync((unsigned long)vaddr, size, direction);
}
+EXPORT_SYMBOL(dma_cache_sync);
+
static struct dma_map_ops mips_default_dma_map_ops = {
.alloc_coherent = mips_dma_alloc_coherent,
.free_coherent = mips_dma_free_coherent,