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 _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev