]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/hexagon/include/asm/dma-mapping.h
hexagon: remove arch-specific dma_supported implementation
[karo-tx-linux.git] / arch / hexagon / include / asm / dma-mapping.h
index d3a87bd9b68655bcf564b8a6ac85c754b9a76045..9c15cb5271a66e230b4bb1e88adbdcb3db8e72db 100644 (file)
@@ -29,8 +29,6 @@
 #include <asm/io.h>
 
 struct device;
-extern int bad_dma_address;
-#define DMA_ERROR_CODE bad_dma_address
 
 extern const struct dma_map_ops *dma_ops;
 
@@ -39,8 +37,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
        return dma_ops;
 }
 
-#define HAVE_ARCH_DMA_SUPPORTED 1
-extern int dma_supported(struct device *dev, u64 mask);
 extern int dma_is_consistent(struct device *dev, dma_addr_t dma_handle);
 extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
                           enum dma_data_direction direction);