]> err.no Git - linux-2.6/commitdiff
CRIS: Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
authorJesper Nilsson <jesper.nilsson@axis.com>
Fri, 30 Nov 2007 14:40:21 +0000 (15:40 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:24 +0000 (11:06 +0100)
include/asm-cris/dma-mapping.h

index 662cea70152dc2ce2247f067625bd5ce00108bbe..edc8d1bfaae2a6fa303f7dfa1f844fdff7eac812 100644 (file)
@@ -164,16 +164,5 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size,
 {
 }
 
-#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY
-extern int
-dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
-                           dma_addr_t device_addr, size_t size, int flags);
-
-extern void
-dma_release_declared_memory(struct device *dev);
-
-extern void *
-dma_mark_declared_memory_occupied(struct device *dev,
-                                 dma_addr_t device_addr, size_t size);
 
 #endif