Skip to content

Commit

Permalink
iommu: Rename domain_has_cap to iommu_domain_has_cap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Upinder Malhi (umalhi) authored and Joerg Roedel committed Jan 7, 2014
1 parent d6e0a2d commit 5b5c139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5b5c139

Please sign in to comment.