]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ehci-au1xxx.c
smc911x: introduce platform data flags
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ehci-au1xxx.c
index 766ef68a0b43a98d81168ec781a9b01623a337f1..08a4335401a9cf815f229b5a07bc3d4fd0a1ad76 100644 (file)
@@ -222,6 +222,8 @@ static const struct hc_driver ehci_au1xxx_hc_driver = {
        .hub_control = ehci_hub_control,
        .bus_suspend = ehci_bus_suspend,
        .bus_resume = ehci_bus_resume,
+       .relinquish_port = ehci_relinquish_port,
+       .port_handed_over = ehci_port_handed_over,
 };
 
 /*-------------------------------------------------------------------------*/
@@ -236,6 +238,7 @@ static int ehci_hcd_au1xxx_drv_probe(struct platform_device *pdev)
        if (usb_disabled())
                return -ENODEV;
 
+       /* FIXME we only want one one probe() not two */
        ret = usb_ehci_au1xxx_probe(&ehci_au1xxx_hc_driver, &hcd, pdev);
        return ret;
 }
@@ -244,6 +247,7 @@ static int ehci_hcd_au1xxx_drv_remove(struct platform_device *pdev)
 {
        struct usb_hcd *hcd = platform_get_drvdata(pdev);
 
+       /* FIXME we only want one one remove() not two */
        usb_ehci_au1xxx_remove(hcd, pdev);
        return 0;
 }
@@ -264,7 +268,7 @@ static int ehci_hcd_au1xxx_drv_resume(struct device *dev)
        return 0;
 }
 */
-MODULE_ALIAS("au1xxx-ehci");
+MODULE_ALIAS("platform:au1xxx-ehci");
 static struct platform_driver ehci_hcd_au1xxx_driver = {
        .probe = ehci_hcd_au1xxx_drv_probe,
        .remove = ehci_hcd_au1xxx_drv_remove,
@@ -273,6 +277,5 @@ static struct platform_driver ehci_hcd_au1xxx_driver = {
        /*.resume       = ehci_hcd_au1xxx_drv_resume, */
        .driver = {
                .name = "au1xxx-ehci",
-               .bus = &platform_bus_type
        }
 };