]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-um/dma-mapping.h
net: Fix build with ARCH=um
[linux-2.6-omap-h63xx.git] / include / asm-um / dma-mapping.h
index f0ee4fb55911e7441c73710eda5ef0a0c11f621d..90fc708b320e4c2a54425981bfb2d73b12a90ffe 100644 (file)
@@ -118,4 +118,11 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size,
        BUG();
 }
 
+static inline int
+dma_mapping_error(struct device *dev, dma_addr_t dma_handle)
+{
+       BUG();
+       return 0;
+}
+
 #endif