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

Showing the changes to include/linux (1 of 1 file). Show all

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
236{236{
237}237}
238 238
239bool has_iova_flush_queue(struct iova_domain *iovad)239static inline bool has_iova_flush_queue(struct iova_domain *iovad)
240{240{
241 return false;241 return false;
242}242}