mips/kgdb: prepare arch_kgdb_ops for constness
authorChristophe Leroy <[email protected]>
Thu, 6 Dec 2018 20:07:38 +0000 (20:07 +0000)
committerDaniel Thompson <[email protected]>
Sun, 30 Dec 2018 08:31:58 +0000 (08:31 +0000)
commit911b7afdeb1b6058056c3a74e15d5ebb7eb6225e
tree368182e47ffba1cfb772cfc1701446c7bebc2faa
parent7faedcd4de4356dfcda30841a5ffef3bf35fa06c
mips/kgdb: prepare arch_kgdb_ops for constness

MIPS is the only architecture modifying arch_kgdb_ops during init.
This patch makes the init static, so that it can be changed to
const in following patch, as recommended by checkpatch.pl

Suggested-by: Paul Burton <[email protected]>
Acked-by: Daniel Thompson <[email protected]>
Acked-by: Paul Burton <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Daniel Thompson <[email protected]>
arch/mips/kernel/kgdb.c