On Wed, 9 Jun 2004, David Brownell wrote:
> Needs an update for ohci-lh7a404.c too ...
I didn't even know this driver existed! Where did usb/host/* come from?
Anyway, here's the patch.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
===== usb/host/ohci-lh7a404.c 1.1 vs edited =====
--- 1.1/usb/host/ohci-lh7a404.c Mon Jun 7 19:24:04 2004
+++ edited/usb/host/ohci-lh7a404.c Wed Jun 9 13:09:47 2004
@@ -191,7 +191,6 @@
*/
void usb_hcd_lh7a404_remove (struct usb_hcd *hcd, struct platform_device *dev)
{
- struct usb_device *hub;
void *base;
pr_debug ("remove: %s, state %x", hcd->self.bus_name, hcd->state);
@@ -199,11 +198,10 @@
if (in_interrupt ())
BUG ();
- hub = hcd->self.root_hub;
hcd->state = USB_STATE_QUIESCING;
pr_debug ("%s: roothub graceful disconnect", hcd->self.bus_name);
- usb_disconnect (&hub);
+ usb_disconnect (&hcd->self.root_hub);
hcd->driver->stop (hcd);
hcd->state = USB_STATE_HALT;
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel