mirror of https://gitee.com/openkylin/linux.git
[PATCH] USB: Fix usb hub build
Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
8ad7fe16df
commit
e08fb39b77
|
@ -1977,7 +1977,7 @@ int usb_suspend_device(struct usb_device *udev)
|
|||
|
||||
int usb_resume_device(struct usb_device *udev)
|
||||
{
|
||||
udev->dev.power_state.event = PM_EVENT_ON;
|
||||
udev->dev.power.power_state.event = PM_EVENT_ON;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue