From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaya Kumar Subject: [PATCH 1/4 2.6.24] fbdev: metronomefb bugfix Date: Thu, 03 Apr 2008 21:03:32 -0400 Message-ID: <20080404010332.17144.2388.sendpatchset@hit-nxdomain.opendns.com> References: <20080404010318.17144.4354.sendpatchset@hit-nxdomain.opendns.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1JhbFT-000373-5K for linux-fbdev-devel@lists.sourceforge.net; Thu, 03 Apr 2008 19:01:47 -0700 Received: from qb-out-0506.google.com ([72.14.204.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1JhbFR-0000kF-Nq for linux-fbdev-devel@lists.sourceforge.net; Thu, 03 Apr 2008 19:01:47 -0700 Received: by qb-out-0506.google.com with SMTP id c8so2042922qbc.4 for ; Thu, 03 Apr 2008 19:01:44 -0700 (PDT) In-Reply-To: <20080404010318.17144.4354.sendpatchset@hit-nxdomain.opendns.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sourceforge.net Cc: akpm@linux-foundation.org, Jaya Kumar This patch is a bugfix for the use of cfb_* functions instead of sys_* functions. sys_* should be used with vmalloced framebuffers. the previous cfb_ use would not work for callers of imageblit/etc. Signed-off-by: Jaya Kumar --- metronomefb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c index e9a89fd..5602f3e 100644 --- a/drivers/video/metronomefb.c +++ b/drivers/video/metronomefb.c @@ -678,7 +678,7 @@ static void metronomefb_fillrect(struct fb_info *info, { struct metronomefb_par *par = info->par; - cfb_fillrect(info, rect); + sys_fillrect(info, rect); metronomefb_dpy_update(par); } @@ -687,7 +687,7 @@ static void metronomefb_copyarea(struct fb_info *info, { struct metronomefb_par *par = info->par; - cfb_copyarea(info, area); + sys_copyarea(info, area); metronomefb_dpy_update(par); } @@ -696,7 +696,7 @@ static void metronomefb_imageblit(struct fb_info *info, { struct metronomefb_par *par = info->par; - cfb_imageblit(info, image); + sys_imageblit(info, image); metronomefb_dpy_update(par); } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace