aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorstanley.miao <stanley.miao@windriver.com>2010-04-20 06:33:29 +0000
committerTony Lindgren <tony@atomide.com>2010-04-23 15:35:11 -0700
commit5241b6b3bfa7be3661398cf93cb3dd187aeb65c6 (patch)
treedbb9973175e9101f5dcbeebe46fdb7918aa4ccbe /arch
parent908c08d523f432a1b52298e2a50b21f4eebe6707 (diff)
AM3517: initialize i2c subsystem after mux subsystem
The initialize of i2c subsystem will set pinmux, so it should be done after the initialize of mux subsystem initialization. Signed-off-by: Stanley.Miao <stanley.miao@windriver.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/board-am3517evm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 6ae880585d5..c1c4389fbd8 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -294,9 +294,9 @@ static struct omap_board_mux board_mux[] __initdata = {
static void __init am3517_evm_init(void)
{
- am3517_evm_i2c_init();
-
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
+
+ am3517_evm_i2c_init();
platform_add_devices(am3517_evm_devices,
ARRAY_SIZE(am3517_evm_devices));