Re: [PATCHv6 1/8] usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure

From: Kever Yang
Date: Thu Oct 30 2014 - 22:47:36 EST


Hi Dinh
On 10/29/2014 07:25 AM, dinguyen@xxxxxxxxxxxxxxxxxxxxx wrote:
From: Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx>

Adds the gadget data structure and appropriate data structure pointers
to the common dwc2_hsotg data structure. To keep the driver data
dereference code looking clean, the gadget variable declares are only available
for peripheral and dual-role mode. This is needed so that the dwc2_hsotg data
structure can be used by the hcd and gadget drivers.

Updates gadget.c to use the dwc2_hsotg data structure and gadget pointers
that have been moved into the common dwc2_hsotg structure.
Are we still need so much s3c prefix? Can we replace all the s3c into dwc2?

- Kever
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/