iommu: Rename domain_has_cap to iommu_domain_has_cap
domain_has_cap is a misnomer bc the func name should be
the same for CONFIG_IOMMU_API and !CONFIG_IOMMU_API.
Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index a444c79..8876ef9 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -291,8 +291,8 @@
return 0;
}
-static inline int domain_has_cap(struct iommu_domain *domain,
- unsigned long cap)
+static inline int iommu_domain_has_cap(struct iommu_domain *domain,
+ unsigned long cap)
{
return 0;
}