From 241c333507a9cd4fc2f5490caf8e687a35248bb5 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Sun, 12 Aug 2007 09:14:08 +0200 Subject: [PATCH] ARM: OMAP: Fix section mismatch warning Fix WARNING: vmlinux.o(.text+0x1554c): Section mismatch: reference to .init.text:reserve_bootmem (between 'omapfb_reserve_sdram' and 'omap_32k_timer_set_mode') Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 4493bcff517..ee40c1a0b83 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c @@ -171,7 +171,7 @@ static int check_fbmem_region(int region_idx, struct omapfb_mem_region *rg, * Called from map_io. We need to call to this early enough so that we * can reserve the fixed SDRAM regions before VM could get hold of them. */ -void omapfb_reserve_sdram(void) +void __init omapfb_reserve_sdram(void) { struct bootmem_data *bdata; unsigned long sdram_start, sdram_size; -- 2.41.1