diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2007-11-07 06:54:32 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-02-08 10:38:01 -0800 |
commit | 1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20 (patch) | |
tree | c9efdae7940f22b97ceb8f62d622ea24e6a57bde /arch/arm/mach-omap1/board-nokia770.c | |
parent | feb72f3b313e1f068b707773e9231af4f87d9580 (diff) | |
download | lwn-1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20.tar.gz lwn-1ed16a86b47fd7dd9125fc8f6df482cc6edc9b20.zip |
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-nokia770.c')
-rw-r--r-- | arch/arm/mach-omap1/board-nokia770.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index e2c8ffd75cff..9e8cdd4bd7dc 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -330,6 +330,7 @@ static void __init omap_nokia770_init(void) omap_board_config_size = ARRAY_SIZE(nokia770_config); omap_gpio_init(); omap_serial_init(); + omap_register_i2c_bus(1, 100, NULL, 0); omap_dsp_init(); ads7846_dev_init(); mipid_dev_init(); |