iommu/virtio: Fix compile error with viommu_capable()
authorJoerg Roedel <jroedel@suse.de>
Wed, 7 Sep 2022 15:11:54 +0000 (17:11 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Sep 2022 07:27:14 +0000 (09:27 +0200)
commitc7883f8d2b0ab4b8e4df8cf37861523ad9ad1407
tree821603d7982a98044f7d2941aaecbb51a42e8bbc
parent7f34891b151187c95511f2830a3994c8a54cabc1
iommu/virtio: Fix compile error with viommu_capable()

A recent fix introduced viommu_capable() but other changes
from Robin change the function signature of the call-back it
is used for.

When both changes are merged a compile error will happen
because the function pointer types mismatch. Fix that by
updating the viommu_capable() signature after the merge.

Cc: Jean-Philippe Brucker <jean-philippe@linaro.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20220907151154.21911-1-joro@8bytes.org
drivers/iommu/virtio-iommu.c