Commit 201c1db9 authored by Joerg Roedel's avatar Joerg Roedel

iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

The stub function for !CONFIG_IOMMU_IOVA needs to be
'static inline'.

Fixes: effa4678 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 7f6cade5
......@@ -236,7 +236,7 @@ static inline void init_iova_domain(struct iova_domain *iovad,
{
}
bool has_iova_flush_queue(struct iova_domain *iovad)
static inline bool has_iova_flush_queue(struct iova_domain *iovad)
{
return false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment