diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/iommu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c index 5e039d4f877c..c314f144825f 100644 --- a/drivers/base/iommu.c +++ b/drivers/base/iommu.c | |||
@@ -98,3 +98,10 @@ phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, | |||
98 | return iommu_ops->iova_to_phys(domain, iova); | 98 | return iommu_ops->iova_to_phys(domain, iova); |
99 | } | 99 | } |
100 | EXPORT_SYMBOL_GPL(iommu_iova_to_phys); | 100 | EXPORT_SYMBOL_GPL(iommu_iova_to_phys); |
101 | |||
102 | int iommu_domain_has_cap(struct iommu_domain *domain, | ||
103 | unsigned long cap) | ||
104 | { | ||
105 | return iommu_ops->domain_has_cap(domain, cap); | ||
106 | } | ||
107 | EXPORT_SYMBOL_GPL(iommu_domain_has_cap); | ||