]> err.no Git - linux-2.6/commitdiff
[ARM] 4633/1: omap build fix when FB enabled
authorDavid Brownell <david-b@pacbell.net>
Fri, 26 Oct 2007 20:48:37 +0000 (21:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Nov 2007 19:53:12 +0000 (19:53 +0000)
This fixes a section error on OMAP when the framebuffer is enabled.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-omap/fb.c

index 4493bcff51729a2e4340d0d196ce67e10a1611ca..ee40c1a0b83d6788f24bd66b8530661b357c5b07 100644 (file)
@@ -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;