mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +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
Change-Id: I296cffefdef4639ef2bab644d42f1374ee1a2f60
Signed-off-by: David Brazdil <dbrazdil@google.com>
(cherry picked from commit 91abc8ece2)
Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
committed by
Mostafa Saleh
parent
778b01ae9c
commit
b2ba2c2eb4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user