Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_DMA_MAPPING_H
0003 #define _ASM_DMA_MAPPING_H
0004 
0005 #include <linux/swiotlb.h>
0006 
0007 extern const struct dma_map_ops jazz_dma_ops;
0008 
0009 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
0010 {
0011 #if defined(CONFIG_MACH_JAZZ)
0012     return &jazz_dma_ops;
0013 #else
0014     return NULL;
0015 #endif
0016 }
0017 
0018 #endif /* _ASM_DMA_MAPPING_H */