Messages in this thread | | | From | David Brownell <> | Subject | Re: [PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n | Date | Wed, 1 Feb 2006 08:01:48 -0800 |
| |
On Wednesday 01 February 2006 7:47 am, Alan Stern wrote:
> This should fix it.
Well, a warning which in this case actually does indicate an error ... but yes, this looks right. Thanks.
- Dave
> Index: usb-2.6/drivers/usb/core/hub.c > =================================================================== > --- usb-2.6.orig/drivers/usb/core/hub.c > +++ usb-2.6/drivers/usb/core/hub.c > @@ -1890,8 +1890,8 @@ int usb_resume_device(struct usb_device > 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) > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |