patch-2.2.18 linux/drivers/char/amikeyb.c

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/amikeyb.c linux/drivers/char/amikeyb.c
@@ -257,7 +257,7 @@
 	    amikeyb_rep_timer.prev = amikeyb_rep_timer.next = NULL;
 	    add_timer(&amikeyb_rep_timer);
 	}
-	handle_scancode(scancode, !break_flag);
+	handle_scancode(keycode, !break_flag);
     } else
 	switch (keycode) {
 	    case 0x78:
@@ -340,9 +340,4 @@
     k->rate  = key_repeat_rate  * 1000 / HZ;
     
     return( 0 );
-}
-
-/* for "kbd-reset" cmdline param */
-__initfunc(void amiga_kbd_reset_setup(char *str, int *ints))
-{
 }

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