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 | 12 |
1 files changed, 0 insertions, 12 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 47fb247f9663..f9f448650505 100644 --- a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h +++ b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h | |||
@@ -52,23 +52,11 @@ static inline int plat_dma_supported(struct device *dev, u64 mask) | |||
52 | return 0; | 52 | return 0; |
53 | } | 53 | } |
54 | 54 | ||
55 | static inline void plat_extra_sync_for_device(struct device *dev) | ||
56 | { | ||
57 | BUG(); | ||
58 | } | ||
59 | |||
60 | static inline int plat_device_is_coherent(struct device *dev) | 55 | static inline int plat_device_is_coherent(struct device *dev) |
61 | { | 56 | { |
62 | return 1; | 57 | return 1; |
63 | } | 58 | } |
64 | 59 | ||
65 | static inline int plat_dma_mapping_error(struct device *dev, | ||
66 | dma_addr_t dma_addr) | ||
67 | { | ||
68 | BUG(); | ||
69 | return 0; | ||
70 | } | ||
71 | |||
72 | dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); | 60 | dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr); |
73 | phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); | 61 | phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr); |
74 | 62 | ||