From: Dirk Behme Date: Sun, 12 Aug 2007 07:14:08 +0000 (+0200) Subject: ARM: OMAP: Fix section mismatch warning X-Git-Tag: v2.6.23-omap1~233 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=241c333507a9cd4fc2f5490caf8e687a35248bb5;p=linux-2.6-omap-h63xx.git 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 --- 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;