]> git.hungrycats.org Git - linux/commitdiff
Hi Vojtech,
authorFranz Sirl <franz.sirl@lauterbach.com>
Wed, 31 Jul 2002 00:04:17 +0000 (02:04 +0200)
committerVojtech Pavlik <vojtech@suse.cz>
Wed, 31 Jul 2002 00:04:17 +0000 (02:04 +0200)
some superflous keyboard stuff came back with the last PPC merge
to Linus. This patch fixes that. Please apply.

arch/ppc/platforms/lopec_setup.c

index 4b3ed8d0600e98247a3782f6e6eb1b5eccb71f93..0e90305523793d4a13782eb2caecc19bd4c1cef3 100644 (file)
 #include <asm/mpc10x.h>
 #include <asm/hw_irq.h>
 #include <asm/prep_nvram.h>
-#include <asm/keyboard.h>
 
 extern char saved_command_line[];
 extern void lopec_find_bridges(void);
-extern int pckbd_translate(unsigned char scancode, unsigned char *keycode,
-               char raw_mode);
-extern char pckbd_unexpected_up(unsigned char keycode);
-extern unsigned char pckbd_sysrq_xlate[128];
 
 /*
  * Define all of the IRQ senses and polarities.  Taken from the
@@ -384,14 +379,6 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
        ppc_md.find_end_of_memory = lopec_find_end_of_memory;
        ppc_md.setup_io_mappings = lopec_map_io;
 
-#ifdef CONFIG_VT
-       ppc_md.kbd_translate = pckbd_translate;
-       ppc_md.kbd_unexpected_up = pckbd_unexpected_up;
-#ifdef CONFIG_MAGIC_SYSRQ
-       ppc_md.ppc_kbd_sysrq_xlate = pckbd_sysrq_xlate;
-#endif /* CONFIG_MAGIC_SYSRQ */
-#endif /* CONFIG_VT */
        ppc_md.time_init = todc_time_init;
        ppc_md.set_rtc_time = todc_set_rtc_time;
        ppc_md.get_rtc_time = todc_get_rtc_time;