From: David Brownell Date: Fri, 26 Oct 2007 20:48:37 +0000 (+0100) Subject: [ARM] 4633/1: omap build fix when FB enabled X-Git-Tag: v2.6.24-rc3~172^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342fb3dda337f4b0c49e468cd930138c401ccce0;p=linux-2.6 [ARM] 4633/1: omap build fix when FB enabled This fixes a section error on OMAP when the framebuffer is enabled. Signed-off-by: David Brownell Acked-by: Tony Lindgren Signed-off-by: Russell King --- diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 4493bcff51..ee40c1a0b8 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;