Explorar o código

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>
David Brownell %!s(int64=18) %!d(string=hai) anos
pai
achega
cc150b03ae
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      arch/arm/plat-omap/fb.c

+ 4 - 1
arch/arm/plat-omap/fb.c

@@ -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