浏览代码

[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 <dbrownell@users.sourceforge.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
David Brownell 17 年之前
父节点
当前提交
342fb3dda3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/plat-omap/fb.c

+ 1 - 1
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;