aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-02 00:39:45 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-02 00:39:45 -0400
commitf6d65610df3bd4e7138da03aec391224219df135 (patch)
treefc25795bd58a446505e1ea867938f5bcd46d0b2c /include
parent5a18c343a6bee4b38965f14a40ccb95306641f87 (diff)
downloadkernel_samsung_espresso10-f6d65610df3bd4e7138da03aec391224219df135.zip
kernel_samsung_espresso10-f6d65610df3bd4e7138da03aec391224219df135.tar.gz
kernel_samsung_espresso10-f6d65610df3bd4e7138da03aec391224219df135.tar.bz2
Input: atkbd - use ushort instead of uchar keymap
Since some of the keycodes defined in input.h have values greater than 255 we should use unsigned shorts in keymaps. Tested-by: Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r--include/linux/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index eff711d..af9c631 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -373,6 +373,8 @@ struct input_absinfo {
#define KEY_WIMAX 246
+/* Range 248 - 255 is reserved for special needs of AT keyboard driver */
+
#define BTN_MISC 0x100
#define BTN_0 0x100
#define BTN_1 0x101