History

iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

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

Joerg Roedel committed 7 years ago

Commit 201c1db1 parent 7f6cade1 file · +1 −1Browse files

Unified · Split

include/linux/iova.h+1−1
@@ -236,7 +236,7 @@ static inline void init_iova_domain(struct iova_domain *iovad, · 235 unmodified lines
236236 {
237237 }
238238
239−bool has_iova_flush_queue(struct iova_domain *iovad)
239+static inline bool has_iova_flush_queue(struct iova_domain *iovad)
240240 {
241241 return false;
242242 }