Commit 2db9d233 authored by James Hogan's avatar James Hogan Committed by Ralf Baechle

MIPS: KVM: Make kvm_mips_{init,exit}() static

The module init and exit functions have no need to be global, so make
them static.
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11889/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 088ec208
...@@ -1620,7 +1620,7 @@ static struct notifier_block kvm_mips_csr_die_notifier = { ...@@ -1620,7 +1620,7 @@ static struct notifier_block kvm_mips_csr_die_notifier = {
.notifier_call = kvm_mips_csr_die_notify, .notifier_call = kvm_mips_csr_die_notify,
}; };
int __init kvm_mips_init(void) static int __init kvm_mips_init(void)
{ {
int ret; int ret;
...@@ -1646,7 +1646,7 @@ int __init kvm_mips_init(void) ...@@ -1646,7 +1646,7 @@ int __init kvm_mips_init(void)
return 0; return 0;
} }
void __exit kvm_mips_exit(void) static void __exit kvm_mips_exit(void)
{ {
kvm_exit(); kvm_exit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment