aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/hid-input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 834ef47b76d6..76e1f64e9765 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -136,7 +136,8 @@ static int hidinput_setkeycode(struct input_dev *dev,
136 136
137 clear_bit(old_keycode, dev->keybit); 137 clear_bit(old_keycode, dev->keybit);
138 set_bit(usage->code, dev->keybit); 138 set_bit(usage->code, dev->keybit);
139 dbg_hid(KERN_DEBUG "Assigned keycode %d to HID usage code %x\n", keycode, scancode); 139 dbg_hid("Assigned keycode %d to HID usage code %x\n",
140 keycode, scancode);
140 /* Set the keybit for the old keycode if the old keycode is used 141 /* Set the keybit for the old keycode if the old keycode is used
141 * by another key */ 142 * by another key */
142 if (hidinput_find_key (hid, 0, old_keycode)) 143 if (hidinput_find_key (hid, 0, old_keycode))