[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: [PATCH V2 1/2] USB: OHCI: make ohci-platform a separate driver
From:       Alan Stern <stern () rowland ! harvard ! edu>
Date:       2013-05-31 14:07:35
Message-ID: Pine.LNX.4.44L0.1305311005520.1276-100000 () iolanthe ! rowland ! org
[Download RAW message or body]

On Fri, 31 May 2013 manjunath.goudar@linaro.org wrote:

> From: Manjunath Goudar <manjunath.goudar@linaro.org>
> 
> This patch splits the ohci-platform code from ohci-hcd out
> into its own separate driver module.This work is part of enabling
> multi-platform kernels on ARM.
> 
> In V2:
>   -Passed "hcd" argment instead of "ohci" in ohci_setup() because it is
>    using "struct usb_hcd" argment.

> @@ -30,58 +42,17 @@ static int ohci_platform_reset(struct usb_hcd *hcd)

...

> +	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.

Alan Stern

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

Configure | About | News | Add a list | Sponsored by KoreLogic