diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2007-11-06 23:54:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-02-08 13:38:01 -0500 |
commit | 1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20 (patch) | |
tree | c9efdae7940f22b97ceb8f62d622ea24e6a57bde /arch/arm/mach-omap1/board-h3.c | |
parent | feb72f3b313e1f068b707773e9231af4f87d9580 (diff) |
ARM: OMAP1: Use I2C bus registration helper for omap1
This patch starts using introduced I2C bus registration helper by cleaning
up registration currently done in various places and by doing necessary
board file modifications.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index f28f05d6760d..7cf6ccd4e7ff 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -517,11 +517,9 @@ static void __init h3_init(void) | |||
517 | omap_board_config = h3_config; | 517 | omap_board_config = h3_config; |
518 | omap_board_config_size = ARRAY_SIZE(h3_config); | 518 | omap_board_config_size = ARRAY_SIZE(h3_config); |
519 | omap_serial_init(); | 519 | omap_serial_init(); |
520 | omap_register_i2c_bus(1, 100, h3_i2c_board_info, | ||
521 | ARRAY_SIZE(h3_i2c_board_info)); | ||
520 | h3_mmc_init(); | 522 | h3_mmc_init(); |
521 | |||
522 | /* FIXME setup irq for tps65013 chip */ | ||
523 | i2c_register_board_info(1, h3_i2c_board_info, | ||
524 | ARRAY_SIZE(h3_i2c_board_info)); | ||
525 | } | 523 | } |
526 | 524 | ||
527 | static void __init h3_init_smc91x(void) | 525 | static void __init h3_init_smc91x(void) |