===== drivers/usb/host/ohci-pci.c 1.18 vs edited ===== --- 2.6.2-mm1/drivers/usb/host/ohci-omap.c Mon Jan 26 02:48:45 2004 +++ edited/drivers/usb/host/ohci-omap.c Wed Feb 4 11:19:11 2004 @@ -388,7 +388,7 @@ hcd->description = driver->description; hcd->irq = dev->irq[0]; hcd->regs = dev->mapbase; - hcd->pdev = OMAP_FAKE_PCIDEV; + hcd->dev = &dev->dev; hcd->self.controller = &dev->dev; hcd->controller = hcd->self.controller; @@ -494,8 +494,8 @@ struct ohci_hcd *ohci = hcd_to_ohci (hcd); int ret; - if (hcd->pdev) { - ohci->hcca = pci_alloc_consistent (hcd->pdev, + if (hcd->dev) { + ohci->hcca = dma_alloc_consistent (hcd->dev, sizeof *ohci->hcca, &ohci->hcca_dma); if (!ohci->hcca) return -ENOMEM; -- Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/
------------------------------------------------------- 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