Commit 218a12f1 authored by Graeme Smecher's avatar Graeme Smecher Committed by Michal Simek

microblaze: Don't mark arch_kgdb_ops as const.

Other architectures don't do it, and it conflicts with the extern'd definition
in include/linux/kgdb.h.

The patch fails checkpatch but it reflects current
functions declaration and solved compilation error.
Signed-off-by: default avatarGraeme Smecher <gsmecher@threespeedlogic.com>
CC: Michal Simek <monstr@monstr.eu>
CC: linux-kernel@vger.kernel.org
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 9e895ace
......@@ -141,7 +141,7 @@ void kgdb_arch_exit(void)
/*
* Global data
*/
const struct kgdb_arch arch_kgdb_ops = {
struct kgdb_arch arch_kgdb_ops = {
#ifdef __MICROBLAZEEL__
.gdb_bpt_instr = {0x18, 0x00, 0x0c, 0xba}, /* brki r16, 0x18 */
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment