patch-2.4.4 linux/include/asm-sh/keyboard.h

Next file: linux/include/asm-sh/machvec.h
Previous file: linux/include/asm-sh/keyboard-ec3104.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-sh/keyboard.h linux/include/asm-sh/keyboard.h
@@ -4,8 +4,12 @@
  *	$Id: keyboard.h,v 1.1 2000/06/10 21:45:48 yaegashi Exp $
  */
 
+#include <linux/config.h>
 #include <asm/machvec.h>
 
+#ifdef CONFIG_SH_EC3104
+#include <asm/keyboard-ec3104.h>
+#else
 static __inline__ int kbd_setkeycode(unsigned int scancode,
 				     unsigned int keycode)
 {
@@ -34,6 +38,7 @@
 }
 
 extern void hp600_kbd_init_hw(void);
+extern void dreamcast_kbd_init_hw(void);
 
 static __inline__ void kbd_init_hw(void)
 {
@@ -42,4 +47,5 @@
 	}
 }
 
+#endif
 #endif

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