diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:39:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:30 -0400 |
commit | d6774935b61f99024121107d4ebb9d11b58052e6 (patch) | |
tree | cece36e747e57bd348f8ff102bea9e4913364653 /drivers/video/hecubafb.c | |
parent | 922e6f9afa137ac69624389b1939e6c31b1abf2d (diff) |
hecubafb: use sys instead of cfb drawing functions
Since hecubafb's framebuffer is vmalloc'ed, use the sys_* drawing functions
instead of cfb_*.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/hecubafb.c')
-rw-r--r-- | drivers/video/hecubafb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c index dc12e2d5489e..0ade72590998 100644 --- a/drivers/video/hecubafb.c +++ b/drivers/video/hecubafb.c | |||
@@ -238,7 +238,7 @@ static void hecubafb_fillrect(struct fb_info *info, | |||
238 | { | 238 | { |
239 | struct hecubafb_par *par = info->par; | 239 | struct hecubafb_par *par = info->par; |
240 | 240 | ||
241 | cfb_fillrect(info, rect); | 241 | sys_fillrect(info, rect); |
242 | 242 | ||
243 | hecubafb_dpy_update(par); | 243 | hecubafb_dpy_update(par); |
244 | } | 244 | } |
@@ -248,7 +248,7 @@ static void hecubafb_copyarea(struct fb_info *info, | |||
248 | { | 248 | { |
249 | struct hecubafb_par *par = info->par; | 249 | struct hecubafb_par *par = info->par; |
250 | 250 | ||
251 | cfb_copyarea(info, area); | 251 | sys_copyarea(info, area); |
252 | 252 | ||
253 | hecubafb_dpy_update(par); | 253 | hecubafb_dpy_update(par); |
254 | } | 254 | } |
@@ -258,7 +258,7 @@ static void hecubafb_imageblit(struct fb_info *info, | |||
258 | { | 258 | { |
259 | struct hecubafb_par *par = info->par; | 259 | struct hecubafb_par *par = info->par; |
260 | 260 | ||
261 | cfb_imageblit(info, image); | 261 | sys_imageblit(info, image); |
262 | 262 | ||
263 | hecubafb_dpy_update(par); | 263 | hecubafb_dpy_update(par); |
264 | } | 264 | } |