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)
committerJoerg Roedel <jroedel@suse.de>
Tue, 23 Jul 2019 07:51:00 +0000 (09:51 +0200)
commit201c1db90cd643282185a00770f12f95da330eca
treedaf2db89c3fdd8c5239b9f29003713df9255903e
parent7f6cade5b6bf47daa315118a05aab613c73462ff
iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA

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>
include/linux/iova.h