aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 03:39:00 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:30 -0400
commitd6774935b61f99024121107d4ebb9d11b58052e6 (patch)
treecece36e747e57bd348f8ff102bea9e4913364653
parent922e6f9afa137ac69624389b1939e6c31b1abf2d (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>
-rw-r--r--drivers/video/Kconfig6
-rw-r--r--drivers/video/hecubafb.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 1bbd10c36894..93d713d6c5a6 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -602,9 +602,9 @@ config FB_IMAC
602config FB_HECUBA 602config FB_HECUBA
603 tristate "Hecuba board support" 603 tristate "Hecuba board support"
604 depends on FB && X86 && MMU 604 depends on FB && X86 && MMU
605 select FB_CFB_FILLRECT 605 select FB_SYS_FILLRECT
606 select FB_CFB_COPYAREA 606 select FB_SYS_COPYAREA
607 select FB_CFB_IMAGEBLIT 607 select FB_SYS_IMAGEBLIT
608 select FB_DEFERRED_IO 608 select FB_DEFERRED_IO
609 help 609 help
610 This enables support for the Hecuba board. This driver was tested 610 This enables support for the Hecuba board. This driver was tested
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}