Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: James 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: Ralf Baechle <ralf@linux-mips.org>

authored by

James Hogan and committed by
Ralf Baechle
2db9d233 088ec208

+2 -2
+2 -2
arch/mips/kvm/mips.c
··· 1620 1620 .notifier_call = kvm_mips_csr_die_notify, 1621 1621 }; 1622 1622 1623 - int __init kvm_mips_init(void) 1623 + static int __init kvm_mips_init(void) 1624 1624 { 1625 1625 int ret; 1626 1626 ··· 1646 1646 return 0; 1647 1647 } 1648 1648 1649 - void __exit kvm_mips_exit(void) 1649 + static void __exit kvm_mips_exit(void) 1650 1650 { 1651 1651 kvm_exit(); 1652 1652