projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f90a8b
)
fbdev: metronomefb bugfix
author
Jaya Kumar
<jayakumar.lkml@gmail.com>
Mon, 28 Apr 2008 09:15:36 +0000
(
02:15
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:40 +0000
(08:58 -0700)
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>
drivers/video/metronomefb.c
patch
|
blob
|
history
diff --git
a/drivers/video/metronomefb.c
b/drivers/video/metronomefb.c
index e9a89fd82757c606ea93001f986ca06225b9384f..5602f3e3f91986ad94a6e408b2d7d5727623d8aa 100644
(file)
--- 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);
}