1 #include <linux/dma-mapping.h> 2 3 /* Set this to 1 if there is a HW IOMMU in the system */ 4 int iommu_detected __read_mostly; 5 6 struct dma_map_ops *dma_ops; 7 EXPORT_SYMBOL(dma_ops); 8 9 struct dma_map_ops *dma_get_ops(struct device *dev) 10 { 11 return dma_ops; 12 } 13 EXPORT_SYMBOL(dma_get_ops); 14