diff options
Diffstat (limited to 'arch/mips/include/asm/mach-generic/dma-coherence.h')
-rw-r--r-- | arch/mips/include/asm/mach-generic/dma-coherence.h | 3 |
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 804c2def7182..8da98073e952 100644 --- a/arch/mips/include/asm/mach-generic/dma-coherence.h +++ b/arch/mips/include/asm/mach-generic/dma-coherence.h | |||
@@ -23,7 +23,8 @@ static inline dma_addr_t plat_map_dma_mem_page(struct device *dev, | |||
23 | return page_to_phys(page); | 23 | return page_to_phys(page); |
24 | } | 24 | } |
25 | 25 | ||
26 | static inline unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr) | 26 | static inline unsigned long plat_dma_addr_to_phys(struct device *dev, |
27 | dma_addr_t dma_addr) | ||
27 | { | 28 | { |
28 | return dma_addr; | 29 | return dma_addr; |
29 | } | 30 | } |