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>
Sun, 4 Aug 2019 07:30:54 +0000 (09:30 +0200)
commit3a0c22cbc5d0b570a2cc9a7cffa1ac715fe564b7
tree3bf4d9b6231e97288a301ae601e66358f48e73a1
parent4fd0eb60bad18067b6ebc2764913697b9a373bf3
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: Dmitry Safonov <dima@arista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/iova.h