Input: evdev - Add ioctl to block suspend while event queue is not empty.
[linux-2.6.git] / include / linux / input.h
index 3862e32..daf0177 100644 (file)
@@ -129,6 +129,9 @@ struct input_keymap_entry {
 
 #define EVIOCGRAB              _IOW('E', 0x90, int)                    /* Grab/Release device */
 
+#define EVIOCGSUSPENDBLOCK     _IOR('E', 0x91, int)                    /* get suspend block enable */
+#define EVIOCSSUSPENDBLOCK     _IOW('E', 0x91, int)                    /* set suspend block enable */
+
 /*
  * Device properties and quirks
  */