patch-2.3.99-pre7 linux/drivers/video/tdfxfb.c
Next file: linux/drivers/video/vesafb.c
Previous file: linux/drivers/video/sbusfb.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Fri May  5 12:37:52 2000
-  Orig file: 
v2.3.99-pre6/linux/drivers/video/tdfxfb.c
-  Orig date: 
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/video/tdfxfb.c linux/drivers/video/tdfxfb.c
@@ -2052,10 +2052,10 @@
       currcon = -1;
       if (!nohwcursor) tdfxfb_hwcursor_init();
        
+      init_timer(&fb_info.cursor.timer);
       fb_info.cursor.timer.function = do_flashcursor; 
-      fb_info.cursor.state = CM_ERASE;
-      fb_info.cursor.timer.prev = fb_info.cursor.timer.next=NULL;
       fb_info.cursor.timer.data = (unsigned long)(&fb_info);
+      fb_info.cursor.state = CM_ERASE;
       spin_lock_init(&fb_info.DAClock);
        
       strcpy(fb_info.fb_info.modename, "3Dfx "); 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)