From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Stone Subject: [PATCH] ARM: OMAP: FB: Properly initialise struct in full-screen update Date: Mon, 2 Apr 2007 17:53:36 +0300 Message-ID: <20070402162902.EEAF5CEF47@intune.research.nokia.com> Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Make sure out_x, out_y, out_width and out_height are initialised when we perform a full-screen update. This hunk appears to have been dropped from the N800 omapfb merge. Signed-off-by: Daniel Stone --- drivers/video/omap/omapfb_main.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index 52de408..7915b1e 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c @@ -756,6 +756,10 @@ static int omapfb_update_full_screen(str win.y = 0; win.width = fbi->var.xres; win.height = fbi->var.yres; + win.out_x = 0; + win.out_y = 0; + win.out_width = fbi->var.xres; + win.out_height = fbi->var.yres; win.format = 0; omapfb_rqueue_lock(fbdev); -- 1.4.1