diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-h2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index ab6e68b00064..00b7623b9b0c 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -458,17 +458,14 @@ static void __init h2_init(void) | |||
458 | omap_board_config = h2_config; | 458 | omap_board_config = h2_config; |
459 | omap_board_config_size = ARRAY_SIZE(h2_config); | 459 | omap_board_config_size = ARRAY_SIZE(h2_config); |
460 | omap_serial_init(); | 460 | omap_serial_init(); |
461 | omap_register_i2c_bus(1, 100, h2_i2c_board_info, | ||
462 | ARRAY_SIZE(h2_i2c_board_info)); | ||
461 | h2_mmc_init(); | 463 | h2_mmc_init(); |
462 | 464 | ||
463 | /* irq for tps65010 chip */ | 465 | /* irq for tps65010 chip */ |
464 | omap_cfg_reg(W4_GPIO58); | 466 | omap_cfg_reg(W4_GPIO58); |
465 | if (gpio_request(58, "tps65010") == 0) | 467 | if (gpio_request(58, "tps65010") == 0) |
466 | gpio_direction_input(58); | 468 | gpio_direction_input(58); |
467 | |||
468 | #ifdef CONFIG_I2C_BOARDINFO | ||
469 | i2c_register_board_info(1, h2_i2c_board_info, | ||
470 | ARRAY_SIZE(h2_i2c_board_info)); | ||
471 | #endif | ||
472 | } | 469 | } |
473 | 470 | ||
474 | static void __init h2_map_io(void) | 471 | static void __init h2_map_io(void) |