aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/dma-mapping.h')
-rw-r--r--include/asm-um/dma-mapping.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-um/dma-mapping.h b/include/asm-um/dma-mapping.h
index f0ee4fb55911..90fc708b320e 100644
--- a/include/asm-um/dma-mapping.h
+++ b/include/asm-um/dma-mapping.h
@@ -118,4 +118,11 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size,
118 BUG(); 118 BUG();
119} 119}
120 120
121static inline int
122dma_mapping_error(struct device *dev, dma_addr_t dma_handle)
123{
124 BUG();
125 return 0;
126}
127
121#endif 128#endif