Commit dca0c121 authored by Thomas Weich's avatar Thomas Weich Committed by Vojtech Pavlik

input: Fix a bug introduced by Andrew Morton's gcc3.2 fixes.

parent 32e66a72
...@@ -202,7 +202,7 @@ int setkeycode(unsigned int scancode, unsigned int keycode) ...@@ -202,7 +202,7 @@ int setkeycode(unsigned int scancode, unsigned int keycode)
return -EINVAL; return -EINVAL;
oldkey = INPUT_KEYCODE(dev, scancode); oldkey = INPUT_KEYCODE(dev, scancode);
SET_INPUT_KEYCODE(dev, scancode, oldkey); SET_INPUT_KEYCODE(dev, scancode, keycode);
clear_bit(oldkey, dev->keybit); clear_bit(oldkey, dev->keybit);
set_bit(keycode, dev->keybit); set_bit(keycode, dev->keybit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment