[WATCHDOG] pcwd_usb.c - document includes

document and review the include files.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
Wim Van Sebroeck 2007-01-08 22:40:33 +01:00
Родитель 045798b56f
Коммит d26d90967d
1 изменённых файлов: 17 добавлений и 18 удалений

Просмотреть файл

@ -24,26 +24,25 @@
* http://www.berkprod.com/ or http://www.pcwatchdog.com/ * http://www.berkprod.com/ or http://www.pcwatchdog.com/
*/ */
#include <linux/kernel.h> #include <linux/module.h> /* For module specific items */
#include <linux/errno.h> #include <linux/moduleparam.h> /* For new moduleparam's */
#include <linux/init.h> #include <linux/types.h> /* For standard types (like size_t) */
#include <linux/slab.h> #include <linux/errno.h> /* For the -ENODEV/... values */
#include <linux/module.h> #include <linux/kernel.h> /* For printk/panic/... */
#include <linux/moduleparam.h> #include <linux/delay.h> /* For mdelay function */
#include <linux/types.h> #include <linux/miscdevice.h> /* For MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR) */
#include <linux/delay.h> #include <linux/watchdog.h> /* For the watchdog specific items */
#include <linux/miscdevice.h> #include <linux/notifier.h> /* For notifier support */
#include <linux/watchdog.h> #include <linux/reboot.h> /* For reboot_notifier stuff */
#include <linux/notifier.h> #include <linux/init.h> /* For __init/__exit/... */
#include <linux/reboot.h> #include <linux/fs.h> /* For file operations */
#include <linux/fs.h> #include <linux/usb.h> /* For USB functions */
#include <linux/smp_lock.h> #include <linux/slab.h> /* For kmalloc, ... */
#include <linux/completion.h> #include <linux/mutex.h> /* For mutex locking */
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/hid.h> /* For HID_REQ_SET_REPORT & HID_DT_REPORT */ #include <linux/hid.h> /* For HID_REQ_SET_REPORT & HID_DT_REPORT */
#include <asm/uaccess.h> /* For copy_to_user/put_user/... */
#ifdef CONFIG_USB_DEBUG #ifdef CONFIG_USB_DEBUG
static int debug = 1; static int debug = 1;