Skip to content

Commit

Permalink
microblaze: Don't mark arch_kgdb_ops as const.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Graeme Smecher authored and Michal Simek committed Jun 26, 2013
1 parent 9e895ac commit 218a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 218a12f

Please sign in to comment.