Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}