diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2009-04-23 17:03:43 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 11:06:24 +0100 |
commit | d3f634b96a86521f51bbaf04a81e34e7adb0eeb4 (patch) | |
tree | b4c38e61a58deb1a20f2e9cb44a12ccfdc0f8d17 /arch/mips/include/asm/mach-jazz | |
parent | 7762f206a3f3a19a38ed91a3d87f019d8b4eafc1 (diff) | |
download | linux-stable-d3f634b96a86521f51bbaf04a81e34e7adb0eeb4.tar.gz linux-stable-d3f634b96a86521f51bbaf04a81e34e7adb0eeb4.tar.bz2 linux-stable-d3f634b96a86521f51bbaf04a81e34e7adb0eeb4.zip |
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-jazz')
-rw-r--r-- | arch/mips/include/asm/mach-jazz/dma-coherence.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-jazz/dma-coherence.h b/arch/mips/include/asm/mach-jazz/dma-coherence.h index 1c7cd27efa7b..5f3d7eaf280b 100644 --- a/arch/mips/include/asm/mach-jazz/dma-coherence.h +++ b/arch/mips/include/asm/mach-jazz/dma-coherence.h @@ -27,7 +27,8 @@ static unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr) return vdma_log2phys(dma_addr); } -static void plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr) +static void plat_unmap_dma_mem(struct device *dev, dma_addr_t dma_addr, + size_t size, enum dma_data_direction direction) { vdma_free(dma_addr); } |