Commit ac4d1cbb authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

[PATCH] ARM: OMAP: omap1/io.c warning removal

Get rid of a build warning, and move a funtion into the init section.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent fe6d316d
......@@ -20,7 +20,7 @@
#include "../clock.h"
extern void omap_check_revision(void);
extern void omap_detect_sram(void);
extern void omap_sram_init(void);
/*
* The machine specific code may provide the extra mapping besides the
......@@ -102,8 +102,9 @@ static void __init _omap_map_io(void)
/*
* This should only get called from board specific init
*/
void omap_map_common_io(void)
void __init omap_map_common_io(void)
{
if (!initialized)
_omap_map_io();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment