]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/microblaze/include/asm/dma-mapping.h
dma-mapping: consolidate dma_{alloc,free}_noncoherent
[linux-beck.git] / arch / microblaze / include / asm / dma-mapping.h
index 801dbe215a8cb581de12941b5133bf16eeeb7ece..bc81625d486fd9827fa0caeef868ac6747c59a08 100644 (file)
@@ -98,9 +98,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
        return (dma_addr == DMA_ERROR_CODE);
 }
 
-#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
-#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
-
 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
                enum dma_data_direction direction)
 {