summaryrefslogtreecommitdiffstats
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorUpinder Malhi (umalhi) <umalhi@cisco.com>2013-12-11 20:19:56 +0000
committerJoerg Roedel <joro@8bytes.org>2014-01-07 15:31:59 +0100
commit5b5c13996ff115599e13b719fc7e4c39746d3b30 (patch)
tree2855e485aa637c322c0d2096c09aa953631d9390 /include/linux/iommu.h
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc (diff)
downloadlinux-stable-5b5c13996ff115599e13b719fc7e4c39746d3b30.tar.gz
linux-stable-5b5c13996ff115599e13b719fc7e4c39746d3b30.tar.bz2
linux-stable-5b5c13996ff115599e13b719fc7e4c39746d3b30.zip
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>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r--include/linux/iommu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index a444c790fa72..8876ef982169 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -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;
}