diff options
author | David Brownell <david-b@pacbell.net> | 2007-03-28 19:38:14 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-09 05:40:12 -0400 |
commit | cc150b03ae79b20e4c023f71913c1225f8a19a6b (patch) | |
tree | 7e311f197127873f8045ecaed5ae330677610ff8 /arch/arm/plat-omap/fb.c | |
parent | 25ff0a653067eec56efc730dbed664d5cc77e9f3 (diff) |
ARM: OMAP: Fix GCC-reported compile time bug
Fix GCC-reported compile time bug which prevents booting
when the framebuffer code is disabled.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap/fb.c')
-rw-r--r-- | arch/arm/plat-omap/fb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 469f580ca057..4493bcff5172 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -333,7 +333,10 @@ unsigned long omapfb_reserve_sram(unsigned long sram_pstart, | |||
333 | unsigned long sram_vstart, | 333 | unsigned long sram_vstart, |
334 | unsigned long sram_size, | 334 | unsigned long sram_size, |
335 | unsigned long start_avail, | 335 | unsigned long start_avail, |
336 | unsigned long size_avail) {} | 336 | unsigned long size_avail) |
337 | { | ||
338 | return 0; | ||
339 | } | ||
337 | 340 | ||
338 | 341 | ||
339 | #endif | 342 | #endif |