diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-12-16 18:49:32 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-23 21:15:01 -0500 |
commit | 2db9d233860e638fecd4b6c519c880bee98ba5eb (patch) | |
tree | 6219b7fcf977aa5665a256d9e2376219f8c5fa52 | |
parent | 088ec208d69474c784ed969206f6af323dea025b (diff) |
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>
-rw-r--r-- | arch/mips/kvm/mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c index b9b803facdbf..5848b616d5a0 100644 --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c | |||
@@ -1620,7 +1620,7 @@ static struct notifier_block kvm_mips_csr_die_notifier = { | |||
1620 | .notifier_call = kvm_mips_csr_die_notify, | 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 | int ret; | 1625 | int ret; |
1626 | 1626 | ||
@@ -1646,7 +1646,7 @@ int __init kvm_mips_init(void) | |||
1646 | return 0; | 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 | kvm_exit(); | 1651 | kvm_exit(); |
1652 | 1652 | ||