diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2014-11-11 11:13:33 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-14 14:59:01 -0600 |
commit | 941fcce4ff6701c5a7d673d0abb063a7de1234bf (patch) | |
tree | 5eda08665331fef6c629bac0f07293b58b41ff04 /drivers/usb/dwc2/hcd.h | |
parent | 0cf884e819e05437287a668b9bfcc198bab6329c (diff) | |
download | lwn-941fcce4ff6701c5a7d673d0abb063a7de1234bf.tar.gz lwn-941fcce4ff6701c5a7d673d0abb063a7de1234bf.zip |
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/hcd.h')
0 files changed, 0 insertions, 0 deletions