Skip to contentSkip to conversation

Input: typo in device matching

PATCH New Dmitry Torokhov 1 participant 1 message Aug 23, 2003 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: typo in device matching

Hi,

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

Dmitry

drivers/input/input.c +1 -1
diff -urN --exclude-from=/usr/src/exclude 2.5.72-vanilla/drivers/input/input.c linux-2.5.72/drivers/input/input.c
@@ -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;