diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 18:06:06 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 18:06:06 -0500 |
commit | 56dbed129df3fdd4caf9018b6e7599ee258a5420 (patch) | |
tree | b902491aef3a99efe0d9d49edd0f6e414dba654f /arch/arm/mach-omap2/board-ldp.c | |
parent | 2a2d31c8dc6f1ebcf5eab1d93a0cb0fb4ed57c7c (diff) | |
parent | f878133bf022717b880d0e0995b8f91436fd605c (diff) |
Merge branch 'linus' into idle-test
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 001fd9713f39..e5dc74875f9d 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -292,10 +292,9 @@ static void __init omap_ldp_init_irq(void) | |||
292 | { | 292 | { |
293 | omap_board_config = ldp_config; | 293 | omap_board_config = ldp_config; |
294 | omap_board_config_size = ARRAY_SIZE(ldp_config); | 294 | omap_board_config_size = ARRAY_SIZE(ldp_config); |
295 | omap2_init_common_hw(NULL, NULL); | 295 | omap2_init_common_infrastructure(); |
296 | omap2_init_common_devices(NULL, NULL); | ||
296 | omap_init_irq(); | 297 | omap_init_irq(); |
297 | omap_gpio_init(); | ||
298 | ldp_init_smsc911x(); | ||
299 | } | 298 | } |
300 | 299 | ||
301 | static struct twl4030_usb_data ldp_usb_data = { | 300 | static struct twl4030_usb_data ldp_usb_data = { |
@@ -381,8 +380,6 @@ static struct platform_device *ldp_devices[] __initdata = { | |||
381 | static struct omap_board_mux board_mux[] __initdata = { | 380 | static struct omap_board_mux board_mux[] __initdata = { |
382 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 381 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
383 | }; | 382 | }; |
384 | #else | ||
385 | #define board_mux NULL | ||
386 | #endif | 383 | #endif |
387 | 384 | ||
388 | static struct omap_musb_board_data musb_board_data = { | 385 | static struct omap_musb_board_data musb_board_data = { |
@@ -426,6 +423,7 @@ static struct mtd_partition ldp_nand_partitions[] = { | |||
426 | static void __init omap_ldp_init(void) | 423 | static void __init omap_ldp_init(void) |
427 | { | 424 | { |
428 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 425 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
426 | ldp_init_smsc911x(); | ||
429 | omap_i2c_init(); | 427 | omap_i2c_init(); |
430 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); | 428 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); |
431 | ts_gpio = 54; | 429 | ts_gpio = 54; |