summaryrefslogtreecommitdiff
path: root/drivers/usb/core/usb.h
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2012-01-11 11:38:35 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 02:23:49 +0400
commit98d9a82e5f753a2483d7b4638802d60e94e5d2e4 (patch)
tree9d51467e4d07abaa8bacb02bdfc8ebdd33904b01 /drivers/usb/core/usb.h
parent1493138af1463112e42eebcdab5db61452821e97 (diff)
downloadlinux-98d9a82e5f753a2483d7b4638802d60e94e5d2e4.tar.xz
USB: cleanup the handling of the PM complete call
This eliminates the last instance of a function's behavior controlled by a parameter as Linus hates such things. Signed-off-by: Oliver Neukum <oneukum@suse.de> Acked-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h
index 45e8479c377d..71648dcbe438 100644
--- a/drivers/usb/core/usb.h
+++ b/drivers/usb/core/usb.h
@@ -56,6 +56,7 @@ extern void usb_major_cleanup(void);
extern int usb_suspend(struct device *dev, pm_message_t msg);
extern int usb_resume(struct device *dev, pm_message_t msg);
+extern int usb_resume_complete(struct device *dev);
extern int usb_port_suspend(struct usb_device *dev, pm_message_t msg);
extern int usb_port_resume(struct usb_device *dev, pm_message_t msg);