]> git.baikalelectronics.ru Git - kernel.git/commit
mips/kgdb: prepare arch_kgdb_ops for constness
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 6 Dec 2018 20:07:38 +0000 (20:07 +0000)
committerDaniel Thompson <daniel.thompson@linaro.org>
Sun, 30 Dec 2018 08:31:58 +0000 (08:31 +0000)
commit2a4ba1410edaf1de69982cff1bc23e4bb2481a77
tree368182e47ffba1cfb772cfc1701446c7bebc2faa
parent4e80e2a0a130b266d8d0a3a47055cf941cc463ee
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 <paul.burton@mips.com>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
arch/mips/kernel/kgdb.c