> gcc -D__KERNEL__ -I/usr/src/linux/include ... -c keyboard.c
> keyboard.c: In function `handle_scancode':
> keyboard.c:252: structure has no member named `ppc_kbd_sysrq_xlate'
You avoid the compilation problem by not selecting CONFIG_MAGIC_SYSRQ
The following patch corrects the name of the field in this structure:
--- ./linux/include/asm-ppc/machdep.h~ Thu Apr 29 21:39:01 1999
+++ ./linux/include/asm-ppc/machdep.h Wed Feb 16 23:00:41 2000
@@ -49,7 +49,7 @@
void (*kbd_leds)(unsigned char leds);
void (*kbd_init_hw)(void);
#ifdef CONFIG_MAGIC_SYSRQ
- unsigned char *kbd_sysrq_xlate;
+ unsigned char *ppc_kbd_sysrq_xlate;
#endif
/* PCI interfaces */
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:16 EST