commit | bebc56d58dc780539777d2b1ca80df5566e2ad87 | [log] [tgz] |
---|---|---|
author | Lan Tianyu <tianyu.lan@intel.com> | Fri May 11 16:08:30 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 11 17:08:41 2012 -0700 |
tree | e24d45842809c559c98abb6fb6b2db1445264220 | |
parent | f397d7c4c5e8a1eb93f2ed15808a509318ccf1dd [diff] |
usb: move struct usb_device->children to struct usb_hub_port->child Move child's pointer to the struct usb_hub_port since the child device is directly associated with the port. Provide usb_get_hub_child_device() to get child's pointer. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>