patch-2.4.20 linux-2.4.20/include/asm-parisc/keyboard.h

Next file: linux-2.4.20/include/asm-parisc/led.h
Previous file: linux-2.4.20/include/asm-parisc/irq.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-parisc/keyboard.h linux-2.4.20/include/asm-parisc/keyboard.h
@@ -1,4 +1,13 @@
 /*
+ *  WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ *  ---------------------------------------------------------------
+ *  This file will be removed as soon as we have converted
+ *  hp_psaux.c and hp_keyb.c to the input layer !
+ *  
+ */
+
+
+/*
  *  linux/include/asm-parisc/keyboard.h
  *
  *  Original by Geert Uytterhoeven
@@ -21,6 +30,9 @@
 #ifdef __KERNEL__
 #ifdef CONFIG_VT
 
+#include <linux/kernel.h>
+#include <linux/kd.h>
+
 /*  These are basically the generic functions / variables.  The only
  *  unexpected detail is the initialization sequence for the keyboard
  *  driver is something like this:
@@ -58,6 +70,7 @@
 #define	kbd_sysrq_xlate		(kbd_ops->sysrq_xlate)
 extern unsigned char hp_ps2kbd_sysrq_xlate[128]; 	/* from drivers/char/hp_keyb.c */
 
+extern void unregister_kbd_ops(void);
 extern void register_kbd_ops(struct kbd_ops *ops);
 
 #endif /* CONFIG_VT */

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