summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/board-sx1.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@nokia.com>2007-11-07 04:54:32 (GMT)
committerTony Lindgren <tony@atomide.com>2008-02-08 18:38:01 (GMT)
commit1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20 (patch)
treec9efdae7940f22b97ceb8f62d622ea24e6a57bde /arch/arm/mach-omap1/board-sx1.c
parentfeb72f3b313e1f068b707773e9231af4f87d9580 (diff)
downloadlinux-fsl-qoriq-1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20.tar.xz
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-sx1.c')
-rw-r--r--arch/arm/mach-omap1/board-sx1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c
index be3ecd8..faa99b5 100644
--- a/arch/arm/mach-omap1/board-sx1.c
+++ b/arch/arm/mach-omap1/board-sx1.c
@@ -442,6 +442,7 @@ static void __init omap_sx1_init(void)
omap_board_config = sx1_config;
omap_board_config_size = ARRAY_SIZE(sx1_config);
omap_serial_init();
+ omap_register_i2c_bus(1, 100, NULL, 0);
sx1_mmc_init();
/* turn on USB power */