Message ID | 20100716172351.GA4364@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/input/input.c b/drivers/input/input.c index 43aeb71..ce5d90d 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -1850,7 +1850,7 @@ int input_register_device(struct input_dev *dev) dev->getkeycodebig_from_scancode = input_default_getkeycode_from_scancode; } - if (dev->setkeycode) { + if (!dev->setkeycode) { if (!dev->setkeycodebig) dev->setkeycodebig = input_default_setkeycode; }