This patch fixes the merge-damage in the beagleboard RTC code
Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
 
 static void __init omap3_beagle_init(void)
 {
+       platform_add_devices(omap3_beagle_devices, ARRAY_SIZE(omap3_beagle_devices));
        omap_board_config = omap3_beagle_config;
        omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
        omap_serial_init();
 
 static void __init omap3_beagle_map_io(void)
 {
-       platform_add_devices(omap3_beagle_devices,
-                               ARRAY_SIZE(omap3_beagle_devices));
        omap2_set_globals_343x();
        omap2_map_common_io();
 }