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

Alan Stern stern at rowland.harvard.edu
Fri May 31 10:07:35 EDT 2013


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

> From: Manjunath Goudar <manjunath.goudar at 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




More information about the linux-arm-kernel mailing list