Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbd5f460 authored by Suman Anna's avatar Suman Anna Committed by Tony Lindgren
Browse files

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: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 067395d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -460,9 +460,9 @@ static int __init omap2_init_devices(void)
	omap_init_audio();
	omap_init_audio();
	omap_init_camera();
	omap_init_camera();
	omap_init_hdmi_audio();
	omap_init_hdmi_audio();
	omap_init_mbox();
	/* If dtb is there, the devices will be created dynamically */
	/* If dtb is there, the devices will be created dynamically */
	if (!of_have_populated_dt()) {
	if (!of_have_populated_dt()) {
		omap_init_mbox();
		omap_init_mcspi();
		omap_init_mcspi();
		omap_init_sham();
		omap_init_sham();
		omap_init_aes();
		omap_init_aes();