Re: [PATCH V2 1/2] USB: OHCI: make ohci-platform a separate driver

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

 



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




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

  Powered by Linux