提交 43c5d5aa 编写于 作者: A Alan Stern 提交者: Greg Kroah-Hartman

[PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n

This patch (as647) fixes a small error introduced by a recent change to
the USB core suspend/resume code.
Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 6a8e87b2
......@@ -1892,8 +1892,8 @@ int usb_resume_device(struct usb_device *udev)
status = hub_port_resume(hdev_to_hub(udev->parent),
udev->portnum, udev);
} else
status = 0;
#endif
status = 0;
} else
status = finish_device_resume(udev);
if (status < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册