diff options
Diffstat (limited to 'drivers/char/watchdog')
-rw-r--r-- | drivers/char/watchdog/pcwd_usb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/watchdog/pcwd_usb.c b/drivers/char/watchdog/pcwd_usb.c index 61138726b501..2da5ac99687c 100644 --- a/drivers/char/watchdog/pcwd_usb.c +++ b/drivers/char/watchdog/pcwd_usb.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <asm/uaccess.h> | 42 | #include <asm/uaccess.h> |
43 | #include <linux/usb.h> | 43 | #include <linux/usb.h> |
44 | #include <linux/mutex.h> | 44 | #include <linux/mutex.h> |
45 | #include <linux/hid.h> /* For HID_REQ_SET_REPORT & HID_DT_REPORT */ | ||
45 | 46 | ||
46 | 47 | ||
47 | #ifdef CONFIG_USB_DEBUG | 48 | #ifdef CONFIG_USB_DEBUG |
@@ -109,10 +110,6 @@ MODULE_DEVICE_TABLE (usb, usb_pcwd_table); | |||
109 | #define CMD_ENABLE_WATCHDOG 0x30 /* Enable / Disable Watchdog */ | 110 | #define CMD_ENABLE_WATCHDOG 0x30 /* Enable / Disable Watchdog */ |
110 | #define CMD_DISABLE_WATCHDOG CMD_ENABLE_WATCHDOG | 111 | #define CMD_DISABLE_WATCHDOG CMD_ENABLE_WATCHDOG |
111 | 112 | ||
112 | /* Some defines that I like to be somewhere else like include/linux/usb_hid.h */ | ||
113 | #define HID_REQ_SET_REPORT 0x09 | ||
114 | #define HID_DT_REPORT (USB_TYPE_CLASS | 0x02) | ||
115 | |||
116 | /* We can only use 1 card due to the /dev/watchdog restriction */ | 113 | /* We can only use 1 card due to the /dev/watchdog restriction */ |
117 | static int cards_found; | 114 | static int cards_found; |
118 | 115 | ||