Update of /cvsroot/gc-linux/linux/drivers/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20029
Modified Files:
gcngx.c
Log Message:
Fix the call to update_screen() to be 2.6.12 compliant.
Index: gcngx.c
===================================================================
RCS file: /cvsroot/gc-linux/linux/drivers/video/gcngx.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gcngx.c 6 Jan 2005 20:21:16 -0000 1.3
+++ gcngx.c 24 Jun 2005 10:59:50 -0000 1.4
@@ -266,6 +266,7 @@
static void gcngx_munmap(struct vm_area_struct *vma)
{
struct fb_info *info = (struct fb_info*)vma->vm_private_data;
+ struct vc_data *vc;
gcngx_destroy_fifo();
@@ -277,7 +278,8 @@
gcnfb_restorefb(info);
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
acquire_console_sem();
- update_screen(fg_console);
+ vc = vc_cons[fg_console].d;
+ update_screen(vc);
unblank_screen();
release_console_sem();
#endif
|