On Sun, 2 Jun 2013, Manjunath Goudar wrote: > On 31 May 2013 19:37, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html