Commit 342fb3dd authored by David Brownell's avatar David Brownell Committed by Russell King

[ARM] 4633/1: omap build fix when FB enabled

This fixes a section error on OMAP when the framebuffer is enabled.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f33bac8d
...@@ -171,7 +171,7 @@ static int check_fbmem_region(int region_idx, struct omapfb_mem_region *rg, ...@@ -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 * 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. * 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; struct bootmem_data *bdata;
unsigned long sdram_start, sdram_size; unsigned long sdram_start, sdram_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment