usb: ehci-sh: Add missing ehci helpers.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 26 Nov 2010 07:48:31 +0000 (16:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 26 Nov 2010 07:48:31 +0000 (16:48 +0900)
The ehci-sh driver was missing tie-ins for endpoint_reset and
clear_tt_buffer_complete, add them in.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/usb/host/ehci-sh.c

index 9d3a29f8ced537d38aae3e5776da6c279262b580..595f70f42b525a3c04ce226c9e45a5c70ea0338c 100644 (file)
@@ -72,6 +72,7 @@ static const struct hc_driver ehci_sh_hc_driver = {
        .urb_enqueue                    = ehci_urb_enqueue,
        .urb_dequeue                    = ehci_urb_dequeue,
        .endpoint_disable               = ehci_endpoint_disable,
+       .endpoint_reset                 = ehci_endpoint_reset,
 
        /*
         * scheduling support
@@ -91,6 +92,7 @@ static const struct hc_driver ehci_sh_hc_driver = {
 
        .relinquish_port                = ehci_relinquish_port,
        .port_handed_over               = ehci_port_handed_over,
+       .clear_tt_buffer_complete       = ehci_clear_tt_buffer_complete,
 };
 
 static int ehci_hcd_sh_probe(struct platform_device *pdev)