iommu: Rename domain_has_cap to iommu_domain_has_cap
authorUpinder Malhi (umalhi) <umalhi@cisco.com>
Wed, 11 Dec 2013 20:19:56 +0000 (20:19 +0000)
committerJoerg Roedel <joro@8bytes.org>
Tue, 7 Jan 2014 14:31:59 +0000 (15:31 +0100)
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>
include/linux/iommu.h

index a444c79..8876ef9 100644 (file)
@@ -291,8 +291,8 @@ static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_ad
        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;
 }