aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-07-11 17:44:40 -0400
committerTony Lindgren <tony@atomide.com>2014-07-15 08:08:56 -0400
commitdbd5f4603e221cbbd6f206fb45e4d8b81f011a6a (patch)
treebd6744d38fe4811c56679d3c9161d949ffd982fa /arch/arm/mach-omap2
parent067395d49c5149b7b50fa93e9cb691a184b24927 (diff)
ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot
The legacy platform device for mailbox should not be created for a DT boot, so adjust the platform device initialization logic appropriately. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 592ba0a0ecf3..708eb7db630c 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -460,9 +460,9 @@ static int __init omap2_init_devices(void)
460 omap_init_audio(); 460 omap_init_audio();
461 omap_init_camera(); 461 omap_init_camera();
462 omap_init_hdmi_audio(); 462 omap_init_hdmi_audio();
463 omap_init_mbox();
464 /* If dtb is there, the devices will be created dynamically */ 463 /* If dtb is there, the devices will be created dynamically */
465 if (!of_have_populated_dt()) { 464 if (!of_have_populated_dt()) {
465 omap_init_mbox();
466 omap_init_mcspi(); 466 omap_init_mcspi();
467 omap_init_sham(); 467 omap_init_sham();
468 omap_init_aes(); 468 omap_init_aes();