Ver código fonte

[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 anos atrás
pai
commit
342fb3dda3
1 arquivos alterados com 1 adições e 1 exclusões
  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;