diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-11-12 21:19:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 17:59:53 (GMT) |
commit | 9ac39f28b5237a629e41ccfc1f73d3a55723045c (patch) | |
tree | c161d5b62d11b6e73605a37b2562b90fff689d9e /drivers/usb/core/usb.h | |
parent | d4f373e57d3916814110968c5ea1155a8d972b5a (diff) | |
download | linux-fsl-qoriq-9ac39f28b5237a629e41ccfc1f73d3a55723045c.tar.xz |
USB: add asynchronous autosuspend/autoresume support
This patch (as1160b) adds support routines for asynchronous autosuspend
and autoresume, with accompanying documentation updates. There
already are several potential users of this interface, and others are
likely to arise as autosuspend support becomes more widespread.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r-- | drivers/usb/core/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index 9a1a45a..b60ebb4 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -45,6 +45,7 @@ extern int usb_suspend(struct device *dev, pm_message_t msg); extern int usb_resume(struct device *dev); extern void usb_autosuspend_work(struct work_struct *work); +extern void usb_autoresume_work(struct work_struct *work); extern int usb_port_suspend(struct usb_device *dev); extern int usb_port_resume(struct usb_device *dev); extern int usb_external_suspend_device(struct usb_device *udev, |