]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/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)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Apr 2007 15:20:25 +0000 (11:20 -0400)
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>
arch/arm/plat-omap/fb.c

index 8441e5057597b22ede8c576971e9b4b14ed1111d..5082496260432e8cd8e3d6d7a50be9524f500505 100644 (file)
@@ -327,7 +327,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