diff options
Diffstat (limited to 'arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h')
-rw-r--r-- | arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h index 17d579471ec4..f768f6fe712e 100644 --- a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h +++ b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h | |||
@@ -27,7 +27,7 @@ static inline dma_addr_t plat_map_dma_mem(struct device *dev, void *addr, | |||
27 | static inline dma_addr_t plat_map_dma_mem_page(struct device *dev, | 27 | static inline dma_addr_t plat_map_dma_mem_page(struct device *dev, |
28 | struct page *page) | 28 | struct page *page) |
29 | { | 29 | { |
30 | return octeon_map_dma_mem(dev, page_address(page), PAGE_SIZE); | 30 | BUG(); |
31 | } | 31 | } |
32 | 32 | ||
33 | static inline unsigned long plat_dma_addr_to_phys(struct device *dev, | 33 | static inline unsigned long plat_dma_addr_to_phys(struct device *dev, |