Re: [RFC 17/17] usb/ehci: use ehci_hcd_plat_probe_init() in au1xxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 29, 2011 at 12:16:31PM +0530, ABRAHAM, KISHON VIJAY wrote:
> > diff --git a/drivers/usb/host/ehci-au1xxx.c b/drivers/usb/host/ehci-au1xxx.c
> > --- a/drivers/usb/host/ehci-au1xxx.c
> > +++ b/drivers/usb/host/ehci-au1xxx.c
> > @@ -92,54 +90,6 @@ static int au1xxx_ehci_setup(struct usb_hcd *hcd)
> >        return ret;
> >  }
> >
> > -static const struct hc_driver ehci_au1xxx_hc_driver = {
> > -       .description            = hcd_name,
> > -       .product_desc           = "Au1xxx EHCI",
> > -       .hcd_priv_size          = sizeof(struct ehci_hcd),
> > -
> > -       /*
> > -        * generic hardware linkage
> > -        */
> > -       .irq                    = ehci_irq,
> > -       .flags                  = HCD_MEMORY | HCD_USB2,
> > -
> > -       /*
> > -        * basic lifecycle operations
> > -        *
> > -        * FIXME -- ehci_init() doesn't do enough here.
> > -        * See ehci-ppc-soc for a complete implementation.
> > -        */
> > -       .reset                  = au1xxx_ehci_setup,
> > -       .start                  = ehci_run,
> > -       .stop                   = ehci_stop,
> > -       .shutdown               = ehci_shutdown,
> > -
> > -       /*
> > -        * managing i/o requests and associated device resources
> > -        */
> > -       .urb_enqueue            = ehci_urb_enqueue,
> > -       .urb_dequeue            = ehci_urb_dequeue,
> > -       .endpoint_disable       = ehci_endpoint_disable,
> > -       .endpoint_reset         = ehci_endpoint_reset,
> > -
> > -       /*
> > -        * scheduling support
> > -        */
> > -       .get_frame_number       = ehci_get_frame,
> > -
> > -       /*
> > -        * root hub support
> > -        */
> > -       .hub_status_data        = ehci_hub_status_data,
> > -       .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,
> > -
> > -       .clear_tt_buffer_complete       = ehci_clear_tt_buffer_complete,
> > -};
> > -
> is this structure (ehci_au1xxx_hc_driver) being defined somewhere
> else?? Not able to find in this patch series.

Look into drivers/usb/host/ehci-au1xxx.c. I haven't introduce it, I remove it.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux