]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - arch/powerpc/include/asm/dma-mapping.h
dma-mapping: remove dma_is_consistent API
[linux-imx.git] / arch / powerpc / include / asm / dma-mapping.h
index a77ba280af04d576363799ccf6c7123a03410d67..8c9c6ad2004ea1f47ce3e5009da4bf9245131327 100644 (file)
@@ -209,11 +209,6 @@ static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr)
 
 #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)
-#ifdef CONFIG_NOT_COHERENT_CACHE
-#define dma_is_consistent(d, h)        (0)
-#else
-#define dma_is_consistent(d, h)        (1)
-#endif
 
 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
                enum dma_data_direction direction)