ARM: OMAP2+: Only manually add hwmod data when DT not used.
authorMark A. Greer <mgreer@animalcreek.com>
Fri, 21 Dec 2012 16:28:12 +0000 (09:28 -0700)
committerPaul Walmsley <paul@pwsan.com>
Sat, 30 Mar 2013 21:52:05 +0000 (15:52 -0600)
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>
arch/arm/mach-omap2/devices.c

index ef4ac53..4269fc1 100644 (file)
@@ -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();