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