iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
authorJoerg Roedel <jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000 (09:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2019 05:25:02 +0000 (07:25 +0200)
commit32e5133912ff141128a8795ae8abb85d209dfc20
treea969fd8b50f462f09c7b5e8d979f54dd0a379c07
parent0ce35762bad71d077b7a582338a4e40ec0d3fc04
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

commit 201c1db90cd643282185a00770f12f95da330eca upstream.

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

Fixes: effa467870c76 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/iova.h