diff mbox series

[1/1] mips: rename mt_init to mips_mt_init

Message ID 20220504002554.654642-2-Liam.Howlett@oracle.com (mailing list archive)
State New
Headers show
Series Prepare for maple tree | expand

Commit Message

Liam R. Howlett May 4, 2022, 12:26 a.m. UTC
From: "Liam R. Howlett" <Liam.Howlett@Oracle.com>

Move mt_init out of the way for the maple tree.  Use mips_mt prefix to
match the rest of the functions in the file.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
---
 arch/mips/kernel/mips-mt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

David Hildenbrand May 12, 2022, 9:54 a.m. UTC | #1
On 04.05.22 02:26, Liam Howlett wrote:
> From: "Liam R. Howlett" <Liam.Howlett@Oracle.com>
> 
> Move mt_init out of the way for the maple tree.  Use mips_mt prefix to
> match the rest of the functions in the file.
> 
> Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>


Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c
index d5f7362e8c24..dc023a979803 100644
--- a/arch/mips/kernel/mips-mt.c
+++ b/arch/mips/kernel/mips-mt.c
@@ -230,7 +230,7 @@  void mips_mt_set_cpuoptions(void)
 
 struct class *mt_class;
 
-static int __init mt_init(void)
+static int __init mips_mt_init(void)
 {
 	struct class *mtc;
 
@@ -243,4 +243,4 @@  static int __init mt_init(void)
 	return 0;
 }
 
-subsys_initcall(mt_init);
+subsys_initcall(mips_mt_init);