diff options
author | Suman Anna <s-anna@ti.com> | 2014-07-11 16:44:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-07-15 05:08:56 -0700 |
commit | dbd5f4603e221cbbd6f206fb45e4d8b81f011a6a (patch) | |
tree | bd6744d38fe4811c56679d3c9161d949ffd982fa /arch/arm/mach-omap2/devices.c | |
parent | 067395d49c5149b7b50fa93e9cb691a184b24927 (diff) | |
download | linux-dbd5f4603e221cbbd6f206fb45e4d8b81f011a6a.tar.bz2 |
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/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 2 |
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) omap_init_audio(); omap_init_camera(); omap_init_hdmi_audio(); - omap_init_mbox(); /* If dtb is there, the devices will be created dynamically */ if (!of_have_populated_dt()) { + omap_init_mbox(); omap_init_mcspi(); omap_init_sham(); omap_init_aes(); |