diff options
Diffstat (limited to 'drivers/base/iommu.c')
| -rw-r--r-- | drivers/base/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c index 8ad4ffea6920..f4c86c429297 100644 --- a/drivers/base/iommu.c +++ b/drivers/base/iommu.c | |||
| @@ -83,14 +83,14 @@ EXPORT_SYMBOL_GPL(iommu_detach_device); | |||
| 83 | int iommu_map_range(struct iommu_domain *domain, unsigned long iova, | 83 | int iommu_map_range(struct iommu_domain *domain, unsigned long iova, |
| 84 | phys_addr_t paddr, size_t size, int prot) | 84 | phys_addr_t paddr, size_t size, int prot) |
| 85 | { | 85 | { |
| 86 | return iommu_ops->map(domain, iova, paddr, size, prot); | 86 | return iommu_ops->map_range(domain, iova, paddr, size, prot); |
| 87 | } | 87 | } |
| 88 | EXPORT_SYMBOL_GPL(iommu_map_range); | 88 | EXPORT_SYMBOL_GPL(iommu_map_range); |
| 89 | 89 | ||
| 90 | void iommu_unmap_range(struct iommu_domain *domain, unsigned long iova, | 90 | void iommu_unmap_range(struct iommu_domain *domain, unsigned long iova, |
| 91 | size_t size) | 91 | size_t size) |
| 92 | { | 92 | { |
| 93 | iommu_ops->unmap(domain, iova, size); | 93 | iommu_ops->unmap_range(domain, iova, size); |
| 94 | } | 94 | } |
| 95 | EXPORT_SYMBOL_GPL(iommu_unmap_range); | 95 | EXPORT_SYMBOL_GPL(iommu_unmap_range); |
| 96 | 96 | ||
