aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parentInput: kill remnants of 98kbd{,-io} and 98spkr (diff)
downloadlinux-dev-e676c232e670e27d8b3783e1167f34288e17c83f.tar.xz
linux-dev-e676c232e670e27d8b3783e1167f34288e17c83f.zip
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')
-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 6d4cc3c110d6..6dca6baf06ff 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;