Skip to content

Commit d14772c

Browse files
committed
iommu: Fix prototype of iommu_paging_domain_alloc_flags()
The iommu_paging_domain_alloc_flags() prototype for non-iommu kernel configurations lacks the 'static inline' prefixes. Cc: Jason Gunthorpe <[email protected]> Cc: Vasant Hegde <[email protected]> Fixes: 20858d4 ("iommu: Introduce iommu_paging_domain_alloc_flags()") Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent 4490ccc commit d14772c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/iommu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ static inline bool device_iommu_capable(struct device *dev, enum iommu_cap cap)
10801080
return false;
10811081
}
10821082

1083-
struct iommu_domain *iommu_paging_domain_alloc_flags(struct device *dev,
1083+
static inline struct iommu_domain *iommu_paging_domain_alloc_flags(struct device *dev,
10841084
unsigned int flags)
10851085
{
10861086
return ERR_PTR(-ENODEV);

0 commit comments

Comments
 (0)