lkml.org 
[lkml]   [2000]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2.14 compilation failure

> 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.081 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site