Commit 2bb72a77 authored by Linus Torvalds's avatar Linus Torvalds

Input: typo in device matching.

Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>
parent fd9f0fe9
......@@ -280,7 +280,7 @@ static struct input_device_id *input_match_device(struct input_device_id *id, st
if (id->id.product != dev->id.product)
continue;
if (id->flags & INPUT_DEVICE_ID_MATCH_BUS)
if (id->flags & INPUT_DEVICE_ID_MATCH_VERSION)
if (id->id.version != dev->id.version)
continue;
......
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