]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: omap1/io.c warning removal
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 6 Jun 2005 16:25:58 +0000 (09:25 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 6 Jun 2005 16:25:58 +0000 (09:25 -0700)
Get rid of a build warning, and move a funtion into the init section.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap/omap1/io.c

index c171b27700143f1dc7ba4c312bd304d7a306c4d4..8b60563b31cd8e4e0ba8d7bfe54ceb40366dedc8 100644 (file)
@@ -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();
 }
+