diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-25 01:36:03 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-25 21:19:21 +0300 |
commit | e41cccfe794d188b0ae7f17f01692bcbc0e0dc87 (patch) | |
tree | c4c38c9738f582f93e66839ccb25347c6dadbf27 /arch/arm/mach-omap2/board-ti8168evm.c | |
parent | e0530460f6bc268b446040f1973d427d21f042d9 (diff) | |
download | linux-e41cccfe794d188b0ae7f17f01692bcbc0e0dc87.tar.xz |
omap2+: Minimize board specific init_early calls
We should only call init_common_infrastructure and
init_common_devices from init_early.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-ti8168evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ti8168evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index f2b097190e07..09fa7bfff8d6 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c @@ -29,8 +29,6 @@ static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { static void __init ti8168_init_early(void) { - omap_board_config = ti8168_evm_config; - omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); omap2_init_common_infrastructure(); omap2_init_common_devices(NULL, NULL); } @@ -43,6 +41,8 @@ static void __init ti8168_evm_init_irq(void) static void __init ti8168_evm_init(void) { omap_serial_init(); + omap_board_config = ti8168_evm_config; + omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); } static void __init ti8168_evm_map_io(void) |