Skip to content

Commit

Permalink
fbdev: metronomefb bugfix
Browse files Browse the repository at this point in the history
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 <jayakumar.lkml@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jaya Kumar authored and Linus Torvalds committed Apr 28, 2008
1 parent 6f90a8b commit 555514f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/video/metronomefb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -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);
}

Expand Down

0 comments on commit 555514f

Please sign in to comment.