From: David Brownell Date: Sat, 1 Nov 2008 07:38:05 +0000 (-0700) Subject: H4: fix i2c registration X-Git-Tag: v2.6.28-omap1~169 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=af5dba980062a044e3f8b9fc61e72c0f5dd70f10;p=linux-2.6-omap-h63xx.git H4: fix i2c registration Registering the I2C devices on H4 boards once is enough; remove the extra call. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index e27da811603..b0252c85539 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -744,9 +744,6 @@ static void __init omap_h4_init(void) /* Menelaus interrupt */ omap_cfg_reg(W19_24XX_SYS_NIRQ); - i2c_register_board_info(1, h4_i2c_board_info, - ARRAY_SIZE(h4_i2c_board_info)); - platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices)); omap_board_config = h4_config; omap_board_config_size = ARRAY_SIZE(h4_config);