]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: socfpga: fix duplicate const specifier warning
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 12 Sep 2017 08:23:39 +0000 (17:23 +0900)
committerMarek 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

index 2f1da740fbe0ffe53fdf70e270ad000b8772cab8..91ddb79f7310859f1d168be9e489951fd3d0ef5b 100644 (file)
@@ -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" },