From 2bb72a77ea0506f103d4d0863adc0896ebda825a Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 22 Aug 2003 15:16:32 -0700 Subject: [PATCH] Input: typo in device matching. Too much cut-and-paste, noticed by Dmitry Torokhov --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index 45171ace0b9c1..fb307a765dedc 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; -- 2.53.0