ANDROID: KVM: arm64: Mark select_iommu_ops static

The function is only used in the compilation unit where it is defined.
Silence a warning by marking it static.

Test: builds
Bug: 190463801
Change-Id: I296cffefdef4639ef2bab644d42f1374ee1a2f60
Signed-off-by: David Brazdil <dbrazdil@google.com>
(cherry picked from commit 91abc8ece2)
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
David Brazdil
2021-11-08 10:26:35 +00:00
committed by Quentin Perret
parent 516a77ed10
commit ea35246b8e

View File

@@ -301,7 +301,7 @@ static int fix_hyp_pgtable_refcnt(void)
&walker);
}
int select_iommu_ops(enum kvm_iommu_driver driver)
static int select_iommu_ops(enum kvm_iommu_driver driver)
{
switch (driver) {
case KVM_IOMMU_DRIVER_NONE: