提交 511366da 编写于 作者: A Andrew Morton 提交者: Greg Kroah-Hartman

USB: usb-hub-driver-improve-use-of-ifdef fix

Fix CONFIG_PM=n build.

Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 42d8a2d2
......@@ -1895,6 +1895,8 @@ static inline int remote_wakeup(struct usb_device *udev)
return 0;
}
#define hub_suspend NULL
#define hub_resume NULL
#endif
void usb_suspend_root_hub(struct usb_device *hdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册