]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
microblaze: Don't mark arch_kgdb_ops as const.
authorGraeme Smecher <gsmecher@threespeedlogic.com>
Sat, 8 Jun 2013 16:52:08 +0000 (09:52 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Jun 2013 09:36:55 +0000 (11:36 +0200)
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: Graeme Smecher <gsmecher@threespeedlogic.com>
CC: Michal Simek <monstr@monstr.eu>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/kgdb.c

index 8adc924431008a546114588115cd328f6a7b90f5..09a5e82861371ef35e3589ab89b534575ee162be 100644 (file)
@@ -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