usb: add struct usb_hub_port to store port related members.
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 11 May 2012 08:08:29 +0000 (16:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 00:08:41 +0000 (17:08 -0700)
commitf397d7c4c5e8a1eb93f2ed15808a509318ccf1dd
tree6cc7619ed9811d058dccb67b95b2692e48723199
parent54d3f8c63d6940966217b807972778fb17c3fa82
usb: add struct usb_hub_port to store port related members.

Add struct usb_hub_port pointer port_data in the struct usb_hub and allocate
struct usb_hub_port perspectively for each ports to store private data.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c