MIPS: mm: remove duplicate "const" qualifier on insn_table
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Aug 2017 19:16:15 +0000 (21:16 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Aug 2017 09:57:30 +0000 (11:57 +0200)
commit00e06297b351d286199c6cf542ea70b8fbabafee
tree3563824143b003593fc1c2dc0a4de847304d8873
parentaae4e7a8bc44722fe70d58920a36916b1043195e
MIPS: mm: remove duplicate "const" qualifier on insn_table

Fixes the following gcc 7.x build error:

arch/mips/mm/uasm-mips.c:51:26: error: duplicate â€˜const’ declaration specifier [-Werror=duplicate-decl-specifier]
 static const struct insn const insn_table[insn_invalid] = {

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fixes: ce807d5f67ed ("MIPS: Optimize uasm insn lookup.")
Cc: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16926/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/uasm-mips.c