From: Sarah Sharp Date: Wed, 15 Dec 2010 20:47:14 +0000 (-0800) Subject: xhci: Refactor bus suspend state into a struct. X-Git-Tag: v2.6.39-rc1~472^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20b67cf51fa606442bb343afad0ee1a393a6afb3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed