aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaya Kumar <jayakumar.lkml@gmail.com>2008-04-28 05:15:36 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:40 -0400
commit555514fabc1c24fac69ff46feac384180828182c (patch)
treec00dcdef3c1d6b26661cd79c2cbbd5673a4c45d8
parent6f90a8bdd17e63fb27b4f6d50e8a2919704ea254 (diff)
fbdev: metronomefb bugfix
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>
-rw-r--r--drivers/video/metronomefb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c
index e9a89fd82757..5602f3e3f919 100644
--- a/drivers/video/metronomefb.c
+++ b/drivers/video/metronomefb.c
@@ -678,7 +678,7 @@ static void metronomefb_fillrect(struct fb_info *info,
678{ 678{
679 struct metronomefb_par *par = info->par; 679 struct metronomefb_par *par = info->par;
680 680
681 cfb_fillrect(info, rect); 681 sys_fillrect(info, rect);
682 metronomefb_dpy_update(par); 682 metronomefb_dpy_update(par);
683} 683}
684 684
@@ -687,7 +687,7 @@ static void metronomefb_copyarea(struct fb_info *info,
687{ 687{
688 struct metronomefb_par *par = info->par; 688 struct metronomefb_par *par = info->par;
689 689
690 cfb_copyarea(info, area); 690 sys_copyarea(info, area);
691 metronomefb_dpy_update(par); 691 metronomefb_dpy_update(par);
692} 692}
693 693
@@ -696,7 +696,7 @@ static void metronomefb_imageblit(struct fb_info *info,
696{ 696{
697 struct metronomefb_par *par = info->par; 697 struct metronomefb_par *par = info->par;
698 698
699 cfb_imageblit(info, image); 699 sys_imageblit(info, image);
700 metronomefb_dpy_update(par); 700 metronomefb_dpy_update(par);
701} 701}
702 702