On Sun, 2 Jun 2013, Manjunath Goudar wrote:

> On 31 May 2013 19:37, Alan Stern <st...@rowland.harvard.edu> wrote:
> 

> > > +     return ohci_setup(ohci_to_hcd(ohci));
> >
> > You don't need to use ohci_to_hcd(), because the hcd value is already a
> > parameter in this function.
> >
> >
> After setting ohci's flag and  num_ports,we need to convert ohci to hcd
> that is what called ohci_to_hcd() function.

No, you don't need to convert it.  Just do:

        return ohci_setup(hcd);

Alan Stern

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

Reply via email to