summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-16 12:06:43 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-18 10:23:58 +0400
commitffd0db97196c1057f09c2ab42dd5b30e94e511d9 (patch)
tree5ac8654257d52612227c6eab1b32e13a71b9c54d /include/linux/input.h
parent181d683d752c432635eda0f182ee71548c1f1820 (diff)
downloadlinux-ffd0db97196c1057f09c2ab42dd5b30e94e511d9.tar.xz
Input: add generic suspend and resume for input devices
Automatically turn off leds and sound effects as part of suspend process and restore led state, sounds and repeat rate at resume. 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 8b3bc3e0d146..0ccfc30cd40f 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1123,7 +1123,7 @@ struct input_dev {
struct mutex mutex;
unsigned int users;
- int going_away;
+ bool going_away;
struct device dev;