On Tue, 10 Mar 2015, Ramneek Mehresh wrote:

> Add workqueue to add/remove host driver (outside interrupt context)
> upon each id change

> --- a/drivers/usb/host/ehci.h
> +++ b/drivers/usb/host/ehci.h
> @@ -177,7 +177,9 @@ struct ehci_hcd {                 /* one per controller */
>       unsigned                periodic_count; /* periodic activity count */
>       unsigned                uframe_periodic_max; /* max periodic time per 
> uframe */
>  
> -
> +#if defined(CONFIG_FSL_USB2_OTG) || defined(CONFIG_FSL_USB2_OTG_MODULE)
> +     struct work_struct change_hcd_work;
> +#endif

This belongs in the ehci_fsl structure, not ehci_hcd.  Or maybe in a 
generic OTG structure.

Alan Stern

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

Reply via email to