Skip to content

Commit

Permalink
usb: hub_handle_remote_wakeup() only exists for CONFIG_PM=y
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <[email protected]>
Acked-by: Dan Williams <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
sfrothwell authored and gregkh committed Jun 2, 2014
1 parent 70d2f61 commit 4a95b1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */


Expand Down

0 comments on commit 4a95b1f

Please sign in to comment.