summaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2006-02-19 00:21:46 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2006-02-19 00:21:46 -0500
commite676c232e670e27d8b3783e1167f34288e17c83f (patch)
tree65b4c990273cded5bf3ab7af3504973bad7dcd2d /include/linux/input.h
parent02860ab6cd2c71dbe42fa70a65a97823c213635b (diff)
Input: input core - semaphore to mutex conversion
Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 6d4cc3c110d..6dca6baf06f 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -929,7 +929,7 @@ struct input_dev {
struct input_handle *grab;
- struct semaphore sem; /* serializes open and close operations */
+ struct mutex mutex; /* serializes open and close operations */
unsigned int users;
struct class_device cdev;