diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-09-24 03:02:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-24 13:44:25 -0400 |
commit | ff13f98b97cb6c5a2d201dfa4db0a2fd0b4d9d50 (patch) | |
tree | bce3878acb3cafa95267bb1c95bb5031e7b52e79 /drivers/input/input.c | |
parent | 87e807b6c461bbd449496a4c3ab78ab164a4ba97 (diff) |
[PATCH] Input: check switch bitmap when matching handlers
The wwitch bitmap was added to input_device_id structure and we should
check it when matching handlers and input devices.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 88636a204525..14ae5583e198 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -308,6 +308,7 @@ static struct input_device_id *input_match_device(struct input_device_id *id, st | |||
308 | MATCH_BIT(ledbit, LED_MAX); | 308 | MATCH_BIT(ledbit, LED_MAX); |
309 | MATCH_BIT(sndbit, SND_MAX); | 309 | MATCH_BIT(sndbit, SND_MAX); |
310 | MATCH_BIT(ffbit, FF_MAX); | 310 | MATCH_BIT(ffbit, FF_MAX); |
311 | MATCH_BIT(swbit, SW_MAX); | ||
311 | 312 | ||
312 | return id; | 313 | return id; |
313 | } | 314 | } |