]> err.no Git - linux-2.6/commit
Input: add semaphore and user count to input_dev structure;
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 29 May 2005 07:29:25 +0000 (02:29 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 29 May 2005 07:29:25 +0000 (02:29 -0500)
commit0fbf87caf70acec0c435233fbc39c7bd0aca3ca6
tree65fa9bdde1f04a1359c3599d351199f834eb01ec
parent58a007765bb5f16020e6000ecbdc5bcc6e54a147
Input: add semaphore and user count to input_dev structure;
       serialize open and close calls and ensure that device's
       open and close methods are only called when first user
       opens it or last user closes it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
include/linux/input.h