summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-16 01:06:43 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-09-17 23:23:58 -0700
commitffd0db97196c1057f09c2ab42dd5b30e94e511d9 (patch)
tree5ac8654257d52612227c6eab1b32e13a71b9c54d /include
parent181d683d752c432635eda0f182ee71548c1f1820 (diff)
downloadlinux-stable-ffd0db97196c1057f09c2ab42dd5b30e94e511d9.tar.gz
linux-stable-ffd0db97196c1057f09c2ab42dd5b30e94e511d9.tar.bz2
linux-stable-ffd0db97196c1057f09c2ab42dd5b30e94e511d9.zip
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')
-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;