mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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 Signed-off-by: David Brazdil <dbrazdil@google.com> Change-Id: Ic5b58bf355c1888d0b479b0f826a14492857c4aa
This commit is contained in:
@@ -211,7 +211,7 @@ static int finalize_host_mappings(void)
|
||||
return kvm_pgtable_walk(&pkvm_pgtable, 0, BIT(pkvm_pgtable.ia_bits), &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:
|
||||
|
||||
Reference in New Issue
Block a user