summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorGraeme Smecher <gsmecher@threespeedlogic.com>2013-06-08 09:52:08 -0700
committerMichal Simek <michal.simek@xilinx.com>2013-06-26 11:36:55 +0200
commit218a12f1f41f6fdce18d084e5ddd3c6439db0983 (patch)
tree6a01df41b06970f69b012b42318da9fc77c7f974 /arch/microblaze
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d (diff)
downloadblackbird-op-linux-218a12f1f41f6fdce18d084e5ddd3c6439db0983.tar.gz
blackbird-op-linux-218a12f1f41f6fdce18d084e5ddd3c6439db0983.zip
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: 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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c
index 8adc92443100..09a5e8286137 100644
--- a/arch/microblaze/kernel/kgdb.c
+++ b/arch/microblaze/kernel/kgdb.c
@@ -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
OpenPOWER on IntegriCloud