projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aca295
)
ARM: socfpga: fix duplicate const specifier warning
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 12 Sep 2017 08:23:39 +0000
(17:23 +0900)
committer
Marek Vasut
<marex@denx.de>
Sat, 23 Sep 2017 13:13:20 +0000
(15:13 +0200)
GCC 7.1 warns:
duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-socfpga/misc_gen5.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-socfpga/misc_gen5.c
b/arch/arm/mach-socfpga/misc_gen5.c
index 2f1da740fbe0ffe53fdf70e270ad000b8772cab8..91ddb79f7310859f1d168be9e489951fd3d0ef5b 100644
(file)
--- a/
arch/arm/mach-socfpga/misc_gen5.c
+++ b/
arch/arm/mach-socfpga/misc_gen5.c
@@
-144,7
+144,7
@@
static const struct {
const u16 pn;
const char *name;
const char *var;
-}
const
socfpga_fpga_model[] = {
+} socfpga_fpga_model[] = {
/* Cyclone V E */
{ 0x2b15, "Cyclone V, E/A2", "cv_e_a2" },
{ 0x2b05, "Cyclone V, E/A4", "cv_e_a4" },