[PATCH 2.6] Input: typo in device matching

From: Dmitry Torokhov
Date: Sat Aug 23 2003 - 01:38:23 EST


Hi,

There was a bit too much of cut-n-paste in input.c.

Dmitry


diff -urN --exclude-from=/usr/src/exclude 2.5.72-vanilla/drivers/input/input.c linux-2.5.72/drivers/input/input.c
--- 2.5.72-vanilla/drivers/input/input.c 2003-06-19 20:23:32.000000000 -0500
+++ linux-2.5.72/drivers/input/input.c 2003-06-23 22:15:49.000000000 -0500
@@ -280,7 +280,7 @@
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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/