projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d2f61
)
usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 29 May 2014 08:55:06 +0000
(18:55 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 2 Jun 2014 22:16:33 +0000
(15:16 -0700)
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>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 6346fb2acbd7e25a010801d92ecb075a8cbe973d..db6287025c06148adcd86608a0f7c38743be7a36 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-3966,6
+3966,12
@@
EXPORT_SYMBOL_GPL(usb_disable_ltm);
void usb_enable_ltm(struct usb_device *udev) { }
EXPORT_SYMBOL_GPL(usb_enable_ltm);
+static int hub_handle_remote_wakeup(struct usb_hub *hub, unsigned int port,
+ u16 portstatus, u16 portchange)
+{
+ return 0;
+}
+
#endif /* CONFIG_PM */