diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-21 16:59:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-21 16:59:23 (GMT) |
commit | cda4db53e9c28061c100400e1a4d273ea61dfba9 (patch) | |
tree | 42fe432a412fdbd2313d3d0270b53e0877594316 /include | |
parent | 8e192910d96615a32646b8978b201b650f62ef34 (diff) | |
parent | c88db160a30cccb81303212b256680f2e37e35ae (diff) | |
download | linux-cda4db53e9c28061c100400e1a4d273ea61dfba9.tar.xz |
Merge tag 'for-usb-next-2012-05-21' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci into usb-next
xhci/usb: Build error fixes for 3.5
Hi Greg,
Here's four patches that fix the build errors introduced by the USB 3.0 Link PM
patches. Please pull for inclusion in 3.5.
Sarah Sharp
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index c19297a..dea39dc 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -592,12 +592,6 @@ extern void usb_autopm_put_interface_async(struct usb_interface *intf); extern void usb_autopm_get_interface_no_resume(struct usb_interface *intf); extern void usb_autopm_put_interface_no_suspend(struct usb_interface *intf); -extern int usb_disable_lpm(struct usb_device *udev); -extern void usb_enable_lpm(struct usb_device *udev); -/* Same as above, but these functions lock/unlock the bandwidth_mutex. */ -extern int usb_unlocked_disable_lpm(struct usb_device *udev); -extern void usb_unlocked_enable_lpm(struct usb_device *udev); - static inline void usb_mark_last_busy(struct usb_device *udev) { pm_runtime_mark_last_busy(&udev->dev); @@ -629,6 +623,12 @@ static inline void usb_mark_last_busy(struct usb_device *udev) { } #endif +extern int usb_disable_lpm(struct usb_device *udev); +extern void usb_enable_lpm(struct usb_device *udev); +/* Same as above, but these functions lock/unlock the bandwidth_mutex. */ +extern int usb_unlocked_disable_lpm(struct usb_device *udev); +extern void usb_unlocked_enable_lpm(struct usb_device *udev); + /*-------------------------------------------------------------------------*/ /* for drivers using iso endpoints */ |