aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/usb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h
index 67da6d0b316f..5162cb370215 100644
--- a/drivers/usb/core/usb.h
+++ b/drivers/usb/core/usb.h
@@ -40,7 +40,10 @@ extern int usb_port_resume(struct usb_device *dev);
40#else 40#else
41 41
42#define usb_suspend_both(udev, msg) 0 42#define usb_suspend_both(udev, msg) 0
43#define usb_resume_both(udev) 0 43static inline int usb_resume_both(struct usb_device *udev)
44{
45 return 0;
46}
44#define usb_port_suspend(dev) 0 47#define usb_port_suspend(dev) 0
45#define usb_port_resume(dev) 0 48#define usb_port_resume(dev) 0
46 49