|
@@ -37,8 +37,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
|
|
return dma_ops;
|
|
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 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,
|
|
extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
|
|
enum dma_data_direction direction);
|
|
enum dma_data_direction direction);
|