diff options
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r-- | drivers/usb/core/usb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index d44d4b7bbf17..3888778582c4 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h | |||
@@ -28,6 +28,8 @@ extern int usb_remove_device(struct usb_device *udev); | |||
28 | 28 | ||
29 | extern int usb_get_device_descriptor(struct usb_device *dev, | 29 | extern int usb_get_device_descriptor(struct usb_device *dev, |
30 | unsigned int size); | 30 | unsigned int size); |
31 | extern int usb_get_bos_descriptor(struct usb_device *dev); | ||
32 | extern void usb_release_bos_descriptor(struct usb_device *dev); | ||
31 | extern char *usb_cache_string(struct usb_device *udev, int index); | 33 | extern char *usb_cache_string(struct usb_device *udev, int index); |
32 | extern int usb_set_configuration(struct usb_device *dev, int configuration); | 34 | extern int usb_set_configuration(struct usb_device *dev, int configuration); |
33 | extern int usb_choose_configuration(struct usb_device *udev); | 35 | extern int usb_choose_configuration(struct usb_device *udev); |
@@ -80,6 +82,7 @@ extern int usb_remote_wakeup(struct usb_device *dev); | |||
80 | extern int usb_runtime_suspend(struct device *dev); | 82 | extern int usb_runtime_suspend(struct device *dev); |
81 | extern int usb_runtime_resume(struct device *dev); | 83 | extern int usb_runtime_resume(struct device *dev); |
82 | extern int usb_runtime_idle(struct device *dev); | 84 | extern int usb_runtime_idle(struct device *dev); |
85 | extern int usb_set_usb2_hardware_lpm(struct usb_device *udev, int enable); | ||
83 | 86 | ||
84 | #else | 87 | #else |
85 | 88 | ||
@@ -94,6 +97,10 @@ static inline int usb_remote_wakeup(struct usb_device *udev) | |||
94 | return 0; | 97 | return 0; |
95 | } | 98 | } |
96 | 99 | ||
100 | static inline int usb_set_usb2_hardware_lpm(struct usb_device *udev, int enable) | ||
101 | { | ||
102 | return 0; | ||
103 | } | ||
97 | #endif | 104 | #endif |
98 | 105 | ||
99 | extern struct bus_type usb_bus_type; | 106 | extern struct bus_type usb_bus_type; |