summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-jazz
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2009-04-24 02:25:12 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 12:06:24 +0200
commit3807ef3f61e094c9417d1a12f18d6b3c8e27d96f (patch)
treec0be5433db80a74dcc06930e9255b1836fd3a941 /arch/mips/include/asm/mach-jazz
parentMIPS: Add size and direction arguments to plat_unmap_dma_mem() (diff)
downloadlinux-3807ef3f61e094c9417d1a12f18d6b3c8e27d96f.tar.xz
linux-3807ef3f61e094c9417d1a12f18d6b3c8e27d96f.zip
MIPS: Pass struct device to plat_dma_addr_to_phys()
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.h3
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 5f3d7eaf280b..f93aee59454a 100644
--- a/arch/mips/include/asm/mach-jazz/dma-coherence.h
+++ b/arch/mips/include/asm/mach-jazz/dma-coherence.h
@@ -22,7 +22,8 @@ static dma_addr_t plat_map_dma_mem_page(struct device *dev, struct page *page)
return vdma_alloc(page_to_phys(page), PAGE_SIZE);
}
-static unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr)
+static unsigned long plat_dma_addr_to_phys(struct device *dev,
+ dma_addr_t dma_addr)
{
return vdma_log2phys(dma_addr);
}