diff options
| author | Lan Tianyu <[email protected]> | 2012-09-05 13:44:31 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-10 12:38:26 -0700 |
| commit | fa2a9566257a3b62c328ea5d621ccf5952079dac (patch) | |
| tree | 0c44a7a978a55f9645f266fc376ce296107a54fc /tools/perf/scripts/python | |
| parent | 9c2089045b87130e8464ca7e21725959446d7f0c (diff) | |
usb: make usb port a real device
This patch turns each USB port on a hub into a new struct device. This
new device has the USB hub interface device as its parent. The port
devices are stored in a new structure (usb_port), and an array of
usb_ports are dynamically allocated once we know how many ports the USB
hub has.
Move the port_owner variable out of usb_hub and into this new structure.
A new file will be created in the hub interface sysfs directory, so
add documentation.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Lan Tianyu <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions