All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: check switch bitmap when matching handlers
@ 2005-09-24  7:02 Dmitry Torokhov
  0 siblings, 0 replies; only message in thread
From: Dmitry Torokhov @ 2005-09-24  7:02 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: Linus Torvalds, Andrew Morton, LKML

Input: check switch bitmap when matching handlers

Switch bitmap was added to input_device_id structure so we should
check it when matching handlers and input devices.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

 drivers/input/input.c |    1 +
 1 files changed, 1 insertion(+)

Index: work/drivers/input/input.c
===================================================================
--- work.orig/drivers/input/input.c
+++ work/drivers/input/input.c
@@ -309,6 +309,7 @@ static struct input_device_id *input_mat
 		MATCH_BIT(ledbit, LED_MAX);
 		MATCH_BIT(sndbit, SND_MAX);
 		MATCH_BIT(ffbit,  FF_MAX);
+		MATCH_BIT(swbit,  SW_MAX);
 
 		return id;
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-24  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-24  7:02 [PATCH] Input: check switch bitmap when matching handlers Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.