From: Arthur O. <aot...@us...> - 2006-02-13 16:03:16
|
Update of /cvsroot/gc-linux/linux/drivers/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12296/drivers/video Modified Files: gcnfb.c Log Message: diff-tree c465e05a03209651078b95686158648fd7ed84c5 (from e764a20196f4e1b497a42fdc6e9d254e7ec290f2) tree e1119586a567a9a6a5ad9bda43d3438772ecf5a4 parent e764a20196f4e1b497a42fdc6e9d254e7ec290f2 author Antonino A. Daplas <ad...@gm...> 1131354035 -0800 committer Linus Torvalds <tor...@g5...> 1131378830 -0800 [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon According to Jon Smirl, filling in the field fb_cursor with soft_cursor for drivers that do not support hardware cursors is redundant. The soft_cursor function is usable by all drivers because it is just a wrapper around fb_imageblit. And because soft_cursor is an fbcon-specific hook, the file is moved to the console directory. Thus, drivers that do not support hardware cursors can leave the fb_cursor field blank. For drivers that do, they can fill up this field with their own version. The end result is a smaller code size. And if the framebuffer console is not loaded, module/kernel size is also reduced because the soft_cursor module will also not be loaded. Signed-off-by: Antonino Daplas <ad...@po...> Signed-off-by: Andrew Morton <ak...@os...> Signed-off-by: Linus Torvalds <tor...@os...> :100644 100644 9c54695911c1468e181de9f60f98c3312a5a4d2f 44b6ca290ce36bdcde56a22a8ec13b02e5fa8fd8 M drivers/video/Kconfig Index: gcnfb.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/video/gcnfb.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- gcnfb.c 18 Jan 2006 23:41:53 -0000 1.11 +++ gcnfb.c 13 Feb 2006 16:03:07 -0000 1.12 @@ -568,9 +568,6 @@ .fb_fillrect = cfb_fillrect, .fb_copyarea = cfb_copyarea, .fb_imageblit = cfb_imageblit, -#ifdef CONFIG_FB_SOFT_CURSOR - .fb_cursor = soft_cursor, -#endif }; /** |