提交 218a12f1 编写于 作者: G Graeme Smecher 提交者: 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: NGraeme Smecher <gsmecher@threespeedlogic.com>
CC: Michal Simek <monstr@monstr.eu>
CC: linux-kernel@vger.kernel.org
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册