From: Upinder Malhi (umalhi) Date: Wed, 11 Dec 2013 20:19:56 +0000 (+0000) Subject: iommu: Rename domain_has_cap to iommu_domain_has_cap X-Git-Tag: next-20140108~35^2^7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5b5c13996ff115599e13b719fc7e4c39746d3b30;p=karo-tx-linux.git 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 Signed-off-by: Joerg Roedel --- 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; }