patch-2.3.1 linux/drivers/char/keyboard.c

Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/joystick/joystick.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -64,7 +64,7 @@
 
 extern void ctrl_alt_del(void);
 
-struct wait_queue * keypress_wait = NULL;
+DECLARE_WAIT_QUEUE_HEAD(keypress_wait);
 struct console;
 
 int keyboard_wait_for_keypress(struct console *co)

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