From: Stephen Rothwell Date: Thu, 29 May 2014 08:55:06 +0000 (+1000) Subject: usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y X-Git-Tag: next-20140604~107^2~20^2 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=commitdiff_plain;h=4a95b1fce97756d0333f8232eb7ed6974e93b054 usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y Signed-off-by: Stephen Rothwell Acked-by: Dan Williams Signed-off-by: Greg Kroah-Hartman --- 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); 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 */