diff options
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 240ad39da570..a3d5485154e7 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -694,7 +694,7 @@ int input_set_keycode(struct input_dev *dev, | |||
694 | unsigned int scancode, unsigned int keycode) | 694 | unsigned int scancode, unsigned int keycode) |
695 | { | 695 | { |
696 | unsigned long flags; | 696 | unsigned long flags; |
697 | int old_keycode; | 697 | unsigned int old_keycode; |
698 | int retval; | 698 | int retval; |
699 | 699 | ||
700 | if (keycode > KEY_MAX) | 700 | if (keycode > KEY_MAX) |