]> err.no Git - linux-2.6/blobdiff - drivers/hid/usbhid/usbhid.h
HID:usbkbd:mark usb_kbd_keycode array as const
[linux-2.6] / drivers / hid / usbhid / usbhid.h
index 0023f96d4294f1d3e6acc05627e4133d899b8b85..62d2d7c925bd3d494c6dd4be8a3f6b66c4aa556c 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/slab.h>
 #include <linux/list.h>
 #include <linux/timer.h>
+#include <linux/wait.h>
 #include <linux/workqueue.h>
 #include <linux/input.h>
 
@@ -77,7 +78,7 @@ struct usbhid_device {
        unsigned long stop_retry;                                       /* Time to give up, in jiffies */
        unsigned int retry_delay;                                       /* Delay length in ms */
        struct work_struct reset_work;                                  /* Task context for resets */
-
+       wait_queue_head_t wait;                                         /* For sleeping */
 };
 
 #define        hid_to_usb_dev(hid_dev) \