| commit | 0fbf87caf70acec0c435233fbc39c7bd0aca3ca6 | [log] [tgz] |
|---|---|---|
| author | Dmitry Torokhov <dtor_core@ameritech.net> | Sun May 29 02:29:25 2005 -0500 |
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | Sun May 29 02:29:25 2005 -0500 |
| tree | 65fa9bdde1f04a1359c3599d351199f834eb01ec | |
| parent | 58a007765bb5f16020e6000ecbdc5bcc6e54a147 [diff] |
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>