patch-2.4.0-test12 linux/drivers/char/scan_keyb.c

Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/riscom8.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/drivers/char/scan_keyb.c linux/drivers/char/scan_keyb.c
@@ -120,7 +120,7 @@
 void __init scan_kbd_init(void)
 {
 
-	task_scan_kbd.next=NULL;
+	INIT_LIST_HEAD(task_scan_kbd.list);
 	task_scan_kbd.sync=0;
 	task_scan_kbd.routine=scan_kbd;
 	task_scan_kbd.data=NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)