]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
H4: fix i2c registration
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 1 Nov 2008 07:38:05 +0000 (00:38 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 21:42:35 +0000 (13:42 -0800)
Registering the I2C devices on H4 boards once is enough;
remove the extra call.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-h4.c

index e27da811603405cefeb2f73dfbc1c3caf5ab3961..b0252c855392a38f3b6a294375bb9fc970f5d40a 100644 (file)
@@ -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);