usb.c (6b157c9bf3bace6eeb4a973da63923ef24995cce) usb.c (eaafbc3a8adab16babe2c20e54ad3ba40d1fbbc9)
1/*
2 * drivers/usb/core/usb.c
3 *
4 * (C) Copyright Linus Torvalds 1999
5 * (C) Copyright Johannes Erdfelt 1999-2001
6 * (C) Copyright Andreas Gal 1999
7 * (C) Copyright Gregory P. Smith 1999
8 * (C) Copyright Deti Fliegl 1999 (new USB architecture)

--- 41 unchanged lines hidden (view full) ---

50static int nousb; /* Disable USB when built into kernel image */
51
52/* Workqueue for autosuspend and for remote wakeup of root hubs */
53struct workqueue_struct *ksuspend_usb_wq;
54
55#ifdef CONFIG_USB_SUSPEND
56static int usb_autosuspend_delay = 2; /* Default delay value,
57 * in seconds */
1/*
2 * drivers/usb/core/usb.c
3 *
4 * (C) Copyright Linus Torvalds 1999
5 * (C) Copyright Johannes Erdfelt 1999-2001
6 * (C) Copyright Andreas Gal 1999
7 * (C) Copyright Gregory P. Smith 1999
8 * (C) Copyright Deti Fliegl 1999 (new USB architecture)

--- 41 unchanged lines hidden (view full) ---

50static int nousb; /* Disable USB when built into kernel image */
51
52/* Workqueue for autosuspend and for remote wakeup of root hubs */
53struct workqueue_struct *ksuspend_usb_wq;
54
55#ifdef CONFIG_USB_SUSPEND
56static int usb_autosuspend_delay = 2; /* Default delay value,
57 * in seconds */
58module_param_named(autosuspend, usb_autosuspend_delay, uint, 0644);
58module_param_named(autosuspend, usb_autosuspend_delay, int, 0644);
59MODULE_PARM_DESC(autosuspend, "default autosuspend delay");
60
61#else
62#define usb_autosuspend_delay 0
63#endif
64
65
66/**

--- 915 unchanged lines hidden ---
59MODULE_PARM_DESC(autosuspend, "default autosuspend delay");
60
61#else
62#define usb_autosuspend_delay 0
63#endif
64
65
66/**

--- 915 unchanged lines hidden ---