summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2003-08-22 15:16:32 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-08-22 15:16:32 -0700
commit2bb72a77ea0506f103d4d0863adc0896ebda825a (patch)
tree3b2e3396088b0145078db30f59214a39c017023a /drivers/input/input.c
parentfd9f0fe9bdd03595dd9a5cace98486764ba0c5b0 (diff)
Input: typo in device matching.
Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 45171ace0b9c..fb307a765ded 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -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;