[ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure
authorSergey Lapin <slapin@ossfans.org>
Mon, 27 Oct 2008 06:43:45 +0000 (07:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Oct 2008 15:43:42 +0000 (15:43 +0000)
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>
arch/arm/mach-at91/board-afeb-9260v1.c

index 9c040c78889a7597d4660b0e7e34eae9d657bdec..e263fda3e2d123ac04b1450695b03a59fd200f59 100644 (file)
@@ -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),
        },
 };