patch-2.3.13 linux/drivers/char/pc_keyb.c

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

diff -u --recursive --new-file v2.3.12/linux/drivers/char/pc_keyb.c linux/drivers/char/pc_keyb.c
@@ -518,10 +518,13 @@
 #endif
 
 /* for "kbd-reset" cmdline param */
-void __init kbd_reset_setup(char *str, int *ints)
+static int __init kbd_reset_setup(char *str)
 {
 	kbd_startup_reset = 1;
+	return 1;
 }
+
+__setup("kbd-reset", kbd_reset_setup);
 
 #define KBD_NO_DATA	(-1)	/* No data */
 #define KBD_BAD_DATA	(-2)	/* Parity or other error */

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