RE: [PATCHv2 02/13] usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg

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

 



> From: dinguyen@xxxxxxxxxx [mailto:dinguyen@xxxxxxxxxx]
> Sent: Wednesday, July 30, 2014 8:21 AM
> 
> Adds the gadget data structure and appropriate data structure pointers
> to the common dwc2_hsotg data structure. This is needed so that the
> dwc2_hsotg data structure can be used by the hcd and gadget drivers.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> ---
>  drivers/usb/dwc2/core.h |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
> index 3b4bd4c..ee34ee1 100644
> --- a/drivers/usb/dwc2/core.h
> +++ b/drivers/usb/dwc2/core.h
> @@ -604,6 +604,12 @@ struct dwc2_hsotg {
>  	struct timer_list wkp_timer;
>  	enum dwc2_lx_state lx_state;
> 
> +	/* Gadget structures */
> +	struct s3c_hsotg *s3c_hsotg;
> +	struct usb_gadget       gadget;
> +	struct usb_gadget_driver *driver;
> +	struct s3c_hsotg_ep     *eps;

What's up with the funny spacing here? Can you neaten that up, please?

-- 
Paul

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