]> err.no Git - linux-2.6/commitdiff
ARM: OMAP: Fix GCC-reported compile time bug
authorDavid Brownell <david-b@pacbell.net>
Wed, 28 Mar 2007 23:38:14 +0000 (16:38 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 May 2007 09:40:12 +0000 (10:40 +0100)
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>
arch/arm/plat-omap/fb.c

index 469f580ca057c184424698534ee916f8ed95499d..4493bcff51729a2e4340d0d196ce67e10a1611ca 100644 (file)
@@ -333,7 +333,10 @@ unsigned long omapfb_reserve_sram(unsigned long sram_pstart,
                                  unsigned long sram_vstart,
                                  unsigned long sram_size,
                                  unsigned long start_avail,
-                                 unsigned long size_avail) {}
+                                 unsigned long size_avail)
+{
+       return 0;
+}
 
 
 #endif