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>
This commit is contained in:
Mark A. Greer 2012-12-21 09:28:12 -07:00 committed by Paul Walmsley
parent 77e2fd8465
commit 53335acc44

View 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();