summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-generic
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2009-04-24 04:03:43 +0400
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 14:06:24 +0400
commitd3f634b96a86521f51bbaf04a81e34e7adb0eeb4 (patch)
treeb4c38e61a58deb1a20f2e9cb44a12ccfdc0f8d17 /arch/mips/include/asm/mach-generic
parent7762f206a3f3a19a38ed91a3d87f019d8b4eafc1 (diff)
downloadlinux-d3f634b96a86521f51bbaf04a81e34e7adb0eeb4.tar.xz
MIPS: Add size and direction arguments to plat_unmap_dma_mem()
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-generic')
-rw-r--r--arch/mips/include/asm/mach-generic/dma-coherence.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-generic/dma-coherence.h b/arch/mips/include/asm/mach-generic/dma-coherence.h
index 36c611b6c597..804c2def7182 100644
--- a/arch/mips/include/asm/mach-generic/dma-coherence.h
+++ b/arch/mips/include/asm/mach-generic/dma-coherence.h
@@ -28,7 +28,8 @@ static inline unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr)
return dma_addr;
}
-static inline void plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr)
+static inline void plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr,
+ size_t size, enum dma_data_direction direction)
{
}