projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8e87b
)
[PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n
author
Alan Stern
<stern@rowland.harvard.edu>
Wed, 1 Feb 2006 15:47:11 +0000
(10:47 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Mar 2006 22:49:58 +0000
(14:49 -0800)
This patch (as647) fixes a small error introduced by a recent change to
the USB core suspend/resume code.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index f1d64d4bbf5fd2378e122158a6f7bb925885e25e..7dd28f8e1cea3b7ffa1a2fb9547b19f2b28fa675 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-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)