diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 8aae045e9a2e..f8a60756fe2a 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -419,12 +419,15 @@ struct usb_device { | |||
419 | u32 quirks; /* quirks of the whole device */ | 419 | u32 quirks; /* quirks of the whole device */ |
420 | atomic_t urbnum; /* number of URBs submitted for the whole device */ | 420 | atomic_t urbnum; /* number of URBs submitted for the whole device */ |
421 | 421 | ||
422 | unsigned long active_duration; /* total time device is not suspended */ | ||
423 | |||
422 | #ifdef CONFIG_PM | 424 | #ifdef CONFIG_PM |
423 | struct delayed_work autosuspend; /* for delayed autosuspends */ | 425 | struct delayed_work autosuspend; /* for delayed autosuspends */ |
424 | struct mutex pm_mutex; /* protects PM operations */ | 426 | struct mutex pm_mutex; /* protects PM operations */ |
425 | 427 | ||
426 | unsigned long last_busy; /* time of last use */ | 428 | unsigned long last_busy; /* time of last use */ |
427 | int autosuspend_delay; /* in jiffies */ | 429 | int autosuspend_delay; /* in jiffies */ |
430 | unsigned long connect_time; /* time device was first connected */ | ||
428 | 431 | ||
429 | unsigned auto_pm:1; /* autosuspend/resume in progress */ | 432 | unsigned auto_pm:1; /* autosuspend/resume in progress */ |
430 | unsigned do_remote_wakeup:1; /* remote wakeup should be enabled */ | 433 | unsigned do_remote_wakeup:1; /* remote wakeup should be enabled */ |