From ac4d1cbba1ea30b6b56b3530837a42f5d80198b8 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 6 Jun 2005 09:25:58 -0700 Subject: [PATCH] [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 --- arch/arm/mach-omap/omap1/io.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } + -- 2.41.1