Deepak Saxena wrote:
===== drivers/usb/core/hcd.h 1.34 vs edited =====
--- 2.6.2-mm1/drivers/usb/core/hcd-pci.c        Thu Oct  9 03:20:18 2003
+++ edited/drivers/usb/core/hcd-pci.c   Wed Feb  4 10:40:42 2004
@@ -146,7 +146,7 @@
        pci_set_drvdata (dev, hcd);
        hcd->driver = driver;
        hcd->description = driver->description;
-       hcd->pdev = dev;
+       hcd->dev = &dev->dev;

Better to just strike "pdev" entirely (including this runt version). The only reason "pdev" was around was because there was no dma_pool; hcd->controller should work every where you'd use hcd->dev.

- Dave


        hcd->self.bus_name = pci_name(dev);
        if (hcd->product_desc == NULL)
                hcd->product_desc = "USB Host Controller";




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to