From: David Brownell Date: Mon, 6 Jun 2005 16:25:58 +0000 (-0700) Subject: [PATCH] ARM: OMAP: omap1/io.c warning removal X-Git-Tag: v2.6.13-omap1~128^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ac4d1cbba1ea30b6b56b3530837a42f5d80198b8;p=linux-2.6-omap-h63xx.git [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: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap/omap1/io.c b/arch/arm/mach-omap/omap1/io.c index c171b277001..8b60563b31c 100644 --- a/arch/arm/mach-omap/omap1/io.c +++ b/arch/arm/mach-omap/omap1/io.c @@ -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(); } +