From: Dinh Nguyen Date: Tue, 11 Nov 2014 17:13:33 +0000 (-0600) Subject: usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941fcce4ff6701c5a7d673d0abb063a7de1234bf;p=pandora-kernel.git usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure 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. Signed-off-by: Dinh Nguyen Signed-off-by: Paul Zimmerman Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed