diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-05-29 04:55:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-02 18:16:33 -0400 |
commit | 4a95b1fce97756d0333f8232eb7ed6974e93b054 (patch) | |
tree | d91f62e6b2798cd6c4b5bca9c48b7e9d2d3362df /drivers/usb/core | |
parent | 70d2f61fc7559df3d5be32a9d01efdb9ee1b11d8 (diff) |
usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/hub.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 6346fb2acbd7..db6287025c06 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -3966,6 +3966,12 @@ EXPORT_SYMBOL_GPL(usb_disable_ltm); | |||
3966 | void usb_enable_ltm(struct usb_device *udev) { } | 3966 | void usb_enable_ltm(struct usb_device *udev) { } |
3967 | EXPORT_SYMBOL_GPL(usb_enable_ltm); | 3967 | EXPORT_SYMBOL_GPL(usb_enable_ltm); |
3968 | 3968 | ||
3969 | static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port, | ||
3970 | u16 portstatus, u16 portchange) | ||
3971 | { | ||
3972 | return 0; | ||
3973 | } | ||
3974 | |||
3969 | #endif /* CONFIG_PM */ | 3975 | #endif /* CONFIG_PM */ |
3970 | 3976 | ||
3971 | 3977 | ||