diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index a3fae5697a7..a69e59455ee 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -290,8 +290,6 @@ static struct omap_board_config_kernel ldp_config[] __initdata = { | |||
290 | 290 | ||
291 | static void __init omap_ldp_init_early(void) | 291 | static void __init omap_ldp_init_early(void) |
292 | { | 292 | { |
293 | omap_board_config = ldp_config; | ||
294 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
295 | omap2_init_common_infrastructure(); | 293 | omap2_init_common_infrastructure(); |
296 | omap2_init_common_devices(NULL, NULL); | 294 | omap2_init_common_devices(NULL, NULL); |
297 | } | 295 | } |
@@ -422,6 +420,8 @@ static struct mtd_partition ldp_nand_partitions[] = { | |||
422 | static void __init omap_ldp_init(void) | 420 | static void __init omap_ldp_init(void) |
423 | { | 421 | { |
424 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 422 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
423 | omap_board_config = ldp_config; | ||
424 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
425 | ldp_init_smsc911x(); | 425 | ldp_init_smsc911x(); |
426 | omap_i2c_init(); | 426 | omap_i2c_init(); |
427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); | 427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); |