mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
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>
This commit is contained in:
parent
8c9b23ffb3
commit
e45587293c
1 changed files with 0 additions and 1 deletions
|
@ -236,7 +236,6 @@ static struct platform_device gpr_i2c_device = {
|
||||||
static struct i2c_board_info gpr_i2c_info[] __initdata = {
|
static struct i2c_board_info gpr_i2c_info[] __initdata = {
|
||||||
{
|
{
|
||||||
I2C_BOARD_INFO("lm83", 0x18),
|
I2C_BOARD_INFO("lm83", 0x18),
|
||||||
.type = "lm83"
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue