diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-17 16:18:39 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-25 02:51:10 +0100 |
commit | e45587293c6939f7e64b7cd75be41c3a2a6cd1dc (patch) | |
tree | 2aa540b0778bf235ab29bfeb6d354e83d719678a /arch/mips/alchemy/board-gpr.c | |
parent | 8c9b23ffb3f92ffa4cbe37b1bab4542586e0bfd1 (diff) |
MIPS: Alchemy: Remove duplicate initializer
We get a harmless warning about a duplicate initalizer for the
i2c board info structure:
arch/mips/alchemy/board-gpr.c:239:11: error: initialized field overwritten [-Werror=override-init]
As both initializers have the identical value, we can simply drop
the second one.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15046/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/board-gpr.c')
-rw-r--r-- | arch/mips/alchemy/board-gpr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/alchemy/board-gpr.c b/arch/mips/alchemy/board-gpr.c index 79efe4c6e636..6fb6b3faa158 100644 --- a/arch/mips/alchemy/board-gpr.c +++ b/arch/mips/alchemy/board-gpr.c @@ -236,7 +236,6 @@ static struct platform_device gpr_i2c_device = { static struct i2c_board_info gpr_i2c_info[] __initdata = { { I2C_BOARD_INFO("lm83", 0x18), - .type = "lm83" } }; |