]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ehci-ixp4xx.c
Merge branch 'linus' into core/generic-dma-coherent
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ehci-ixp4xx.c
index 3041d8f055f46990d29ee7c2c662631c2719ce6e..9d042f220097c874286e5e2322fc7367418a3361 100644 (file)
@@ -26,7 +26,7 @@ static int ixp4xx_ehci_init(struct usb_hcd *hcd)
                + HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
        ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
 
-       ehci->is_tdi_rh_tt = 1;
+       hcd->has_tt = 1;
        ehci_reset(ehci);
 
        retval = ehci_init(hcd);
@@ -58,6 +58,8 @@ static const struct hc_driver ixp4xx_ehci_hc_driver = {
        .bus_suspend            = ehci_bus_suspend,
        .bus_resume             = ehci_bus_resume,
 #endif
+       .relinquish_port        = ehci_relinquish_port,
+       .port_handed_over       = ehci_port_handed_over,
 };
 
 static int ixp4xx_ehci_probe(struct platform_device *pdev)
@@ -140,13 +142,12 @@ static int ixp4xx_ehci_remove(struct platform_device *pdev)
        return 0;
 }
 
-MODULE_ALIAS("ixp4xx-ehci");
+MODULE_ALIAS("platform:ixp4xx-ehci");
 
 static struct platform_driver ixp4xx_ehci_driver = {
        .probe = ixp4xx_ehci_probe,
        .remove = ixp4xx_ehci_remove,
        .driver = {
                .name = "ixp4xx-ehci",
-               .bus = &platform_bus_type
        },
 };