summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2/core_intr.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2014-11-11 20:13:33 +0300
committerFelipe Balbi <balbi@ti.com>2014-11-14 23:59:01 +0300
commit941fcce4ff6701c5a7d673d0abb063a7de1234bf (patch)
tree5eda08665331fef6c629bac0f07293b58b41ff04 /drivers/usb/dwc2/core_intr.c
parent0cf884e819e05437287a668b9bfcc198bab6329c (diff)
downloadlinux-941fcce4ff6701c5a7d673d0abb063a7de1234bf.tar.xz
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 <dinguyen@opensource.altera.com> Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/core_intr.c')
0 files changed, 0 insertions, 0 deletions