Browse Source

ARM: OMAP2+: Only manually add hwmod data when DT not used.

The omap_init_aes() routine in devices.c only needs to be
called when there is no device tree present.

CC: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Mark A. Greer 12 years ago
parent
commit
53335acc44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-omap2/devices.c

+ 1 - 1
arch/arm/mach-omap2/devices.c

@@ -656,10 +656,10 @@ static int __init omap2_init_devices(void)
 		omap_init_mcpdm();
 		omap_init_mcspi();
 		omap_init_sham();
+		omap_init_aes();
 	}
 	omap_init_sti();
 	omap_init_rng();
-	omap_init_aes();
 	omap_init_vout();
 	omap_init_ocp2scp();