]> git.hungrycats.org Git - linux/commitdiff
Input: typo in device matching.
authorLinus Torvalds <torvalds@home.osdl.org>
Fri, 22 Aug 2003 22:16:32 +0000 (15:16 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 22 Aug 2003 22:16:32 +0000 (15:16 -0700)
Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>

drivers/input/input.c

index 45171ace0b9c10ff6c65dedd87ec30217b200077..fb307a765dedc7c54a2b9c5fea9cb54bcf137b3e 100644 (file)
@@ -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;