summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_gadget.h
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-12-15 21:47:14 +0100
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-03-14 02:23:36 +0100
commit20b67cf51fa606442bb343afad0ee1a393a6afb3 (patch)
tree1d85e8b93aff185211d065a5113beaeb68cfcb26 /drivers/usb/musb/musb_gadget.h
parentxhci: Index with a port array instead of PORTSC addresses. (diff)
downloadlinux-20b67cf51fa606442bb343afad0ee1a393a6afb3.tar.xz
linux-20b67cf51fa606442bb343afad0ee1a393a6afb3.zip
xhci: Refactor bus suspend state into a struct.
There are several variables in the xhci_hcd structure that are related to bus suspend and resume state. There are a couple different port status arrays that are accessed by port index. Move those variables into a separate structure, xhci_bus_state. Stash that structure in xhci_hcd. When we have two roothhubs that can be suspended and resumed separately, we can have two xhci_bus_states, and index into the port arrays in each structure with the fake roothub port index (not the real hardware port index). Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.h')
0 files changed, 0 insertions, 0 deletions