From: David Brownell Date: Wed, 28 Mar 2007 23:38:14 +0000 (-0700) Subject: ARM: OMAP: Fix GCC-reported compile time bug X-Git-Tag: v2.6.21-omap1~37^2~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4407a7ddbce6e69c1e3dc119f70b6fc0243001e7;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 8441e505759..50824962604 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c @@ -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