patch-2.4.19 linux-2.4.19/include/asm-arm/arch-shark/keyboard.h

Next file: linux-2.4.19/include/asm-arm/arch-tbox/uncompress.h
Previous file: linux-2.4.19/include/asm-arm/arch-sa1100/uncompress.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-arm/arch-shark/keyboard.h linux-2.4.19/include/asm-arm/arch-shark/keyboard.h
@@ -6,6 +6,7 @@
  * (C) 1998 Russell King
  * (C) 1998 Phil Blundell
  */
+#include <linux/config.h>
 #include <linux/ioport.h>
 #include <asm/irq.h>
 #include <asm/io.h>
@@ -28,7 +29,6 @@
 
 static inline void kbd_init_hw(void)
 {
-	if (have_isa_bridge) {
 		k_setkeycode    = pckbd_setkeycode;
 		k_getkeycode    = pckbd_getkeycode;
 		k_translate     = pckbd_translate;
@@ -39,7 +39,6 @@
 		k_sysrq_xlate   = pckbd_sysrq_xlate;
 #endif
 		pckbd_init_hw();
-	}
 }
 
 /*

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