]> git.baikalelectronics.ru Git - kernel.git/commit
usb: move struct usb_device->children to struct usb_hub_port->child
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 11 May 2012 08:08:30 +0000 (16:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 00:08:41 +0000 (17:08 -0700)
commit2a53783f210e9d0175543c6cd6eef818fefc7a52
treee24d45842809c559c98abb6fb6b2db1445264220
parent80460aa33a979ba1dae3a1e23b311a6c3109e02e
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>
drivers/staging/usbip/usbip_common.c
drivers/usb/core/devices.c
drivers/usb/core/hub.c
drivers/usb/host/r8a66597-hcd.c
include/linux/usb.h