Parcourir la source

[ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure

i2c_board_info array was filled incorrectly.
Due to circumstances, the way it is filled works.
This patch fills array properly.

Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Sergey Lapin il y a 16 ans
Parent
commit
b73b925a6b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      arch/arm/mach-at91/board-afeb-9260v1.c

+ 1 - 0
arch/arm/mach-at91/board-afeb-9260v1.c

@@ -165,6 +165,7 @@ static struct at91_mmc_data __initdata afeb9260_mmc_data = {
 static struct i2c_board_info __initdata afeb9260_i2c_devices[] = {
 	{
 		I2C_BOARD_INFO("fm3130", 0x68),
+	}, {
 		I2C_BOARD_INFO("24c64", 0x50),
 	},
 };