diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /include/asm-m68k/keyboard.h | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'include/asm-m68k/keyboard.h')
-rw-r--r-- | include/asm-m68k/keyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/keyboard.h b/include/asm-m68k/keyboard.h index cb013200b..c30c8dc04 100644 --- a/include/asm-m68k/keyboard.h +++ b/include/asm-m68k/keyboard.h @@ -24,7 +24,7 @@ static __inline__ int kbd_setkeycode(unsigned int scancode, static __inline__ int kbd_getkeycode(unsigned int scancode) { - return -EOPNOTSUPP; + return scancode > 127 ? -EINVAL : scancode; } static __inline__ int kbd_pretranslate(unsigned char scancode, char raw_mode) |