patch-2.4.26 linux-2.4.26/drivers/char/q40_keyb.c

Next file: linux-2.4.26/drivers/char/sonypi.c
Previous file: linux-2.4.26/drivers/char/drm-4.0/r128_state.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/drivers/char/q40_keyb.c linux-2.4.26/drivers/char/q40_keyb.c
@@ -400,7 +400,7 @@
 #define KBD_NO_DATA	(-1)	/* No data */
 #define KBD_BAD_DATA	(-2)	/* Parity or other error */
 
-static int __init kbd_read_input(void)
+static int __init q40kbd_read_input(void)
 {
 	int retval = KBD_NO_DATA;
 	unsigned char status;
@@ -421,7 +421,7 @@
 	int maxread = 100;	/* Random number */
 
 	do {
-		if (kbd_read_input() == KBD_NO_DATA)
+		if (q40kbd_read_input() == KBD_NO_DATA)
 			break;
 	} while (--maxread);
 }

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