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

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)