diff options
author | Andres Salomon <dilinger@debian.org> | 2008-09-16 18:30:34 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-09-22 00:28:47 +0200 |
commit | 68d482214bb0eaac138ace329e72390d6c8d44ff (patch) | |
tree | 905c8b976b8b0829b8b49072af04c0025f2627a3 /drivers/input/mousedev.c | |
parent | Input: psmouse - add psmouse_queue_work() for ps/2 extension to make use of (diff) | |
download | linux-68d482214bb0eaac138ace329e72390d6c8d44ff.tar.xz linux-68d482214bb0eaac138ace329e72390d6c8d44ff.zip |
Input: psmouse - tweak PSMOUSE_DEFINE_ATTR to support raw set callbacks
We want to support attr->set callbacks that may need psmouse->state to
not be updated, or may want to manually deal w/ enabling and disabling
the device. To do that, we create __PSMOUSE_DEFINE_ATTR which enables
us to set a 'protect' argument specifying whether or not the set
callback should be protected with psmouse_disable and state setting.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mousedev.c')
0 files changed, 0 insertions, 0 deletions