ARM: Realview & Versatile: Fix i2c_board_info definitions
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 18 Jul 2009 14:51:55 +0000 (15:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Jul 2009 16:08:59 +0000 (17:08 +0100)
commit64e8be6ebdb8212898781fff7722ff2b0eb76131
tree445ab6210567e94ce2ea928bccb2fe088649b87e
parentd740d347f856f0fd8baf2f63d8daa600ed135bfd
ARM: Realview & Versatile: Fix i2c_board_info definitions

Fix i2c_board_info definitions - we were defining the 'type' field
of these structures twice since the first argument of I2C_BOARD_INFO
sets this field.  Move the second definition into I2C_BOARD_INFO().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-realview/core.c
arch/arm/mach-versatile/core.c