dma-mapping.c 279 B

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