usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 May 2014 08:55:06 +0000 (18:55 +1000)
committerGreg 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

index 6346fb2acbd7e25a010801d92ecb075a8cbe973d..db6287025c06148adcd86608a0f7c38743be7a36 100644 (file)
@@ -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 */